Run the checks again on a release tag #745
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: typecheck | |
| # Push is scoped so a pull request runs this once rather than twice. Tags are | |
| # here so a release runs the checks against the tree it is about to publish. | |
| on: | |
| push: | |
| branches: [main] | |
| tags: | |
| - "v*" | |
| pull_request: | |
| jobs: | |
| typecheck: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: html_frontend | |
| steps: | |
| - uses: actions/checkout@v7.0.1 | |
| - uses: oven-sh/setup-bun@v2 | |
| - uses: ruby/setup-ruby@v1.321.0 | |
| with: | |
| ruby-version: ruby | |
| bundler-cache: true | |
| - run: bun install --frozen-lockfile | |
| - run: bun run typecheck | |
| # bunfig.toml enforces 100% line and function coverage of src/ | |
| - run: bun test | |
| - run: bundle exec rake assets:check | |
| working-directory: ${{ github.workspace }} |