Nightly TypeScript Run #318
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nightly TypeScript Run | |
jobs: | |
ts-next: | |
name: typescript@next | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: volta-cli/action@v4 | |
- run: yarn install --frozen-lockfile --non-interactive | |
- run: yarn add -D typescript@next | |
- run: yarn type-check | |
notify: | |
name: Notify Discord | |
runs-on: ubuntu-latest | |
needs: [ ts-next ] | |
if: failure() | |
steps: | |
- uses: sarisia/actions-status-discord@v1 | |
with: | |
webhook: ${{ secrets.TYPESCRIPT_WEBHOOK }} | |
status: "Failure" | |
title: "Ember.js Nightly TypeScript Run" | |
color: 0xcc0000 | |
url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" | |
username: GitHub Actions | |
# ...nightly at midnight | |
on: | |
schedule: | |
- cron: 0 0 * * * | |
workflow_dispatch: |