Repository navigation
Nightly TypeScript Run #1476
This file contains hidden or 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 | |
| permissions: | |
| contents: read | |
| jobs: | |
| ts-next: | |
| name: typescript@latest | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - uses: ./.github/actions/setup | |
| - run: pnpm build | |
| - run: pnpm add --save-dev typescript@latest --workspace-root | |
| - run: pnpm tsc --version | |
| # NOTE: these are only the public types | |
| # our internal types are not relevant for floating TS versions | |
| # (until we bump our dev-time TS) | |
| - run: pnpm type-check:types | |
| - run: pnpm type-check:types-stable-decorators | |
| notify: | |
| name: Notify Discord | |
| runs-on: ubuntu-latest | |
| needs: [ts-next] | |
| if: failure() | |
| steps: | |
| - uses: sarisia/actions-status-discord@eb045afee445dc055c18d3d90bd0f244fd062708 # v1.16.0 | |
| with: | |
| webhook: ${{ secrets.TYPESCRIPT_WEBHOOK }} | |
| status: "Failure" | |
| title: "Latest 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: |