Bump actions/setup-node from 6.4.0 to 7.0.0 in the github-actions group #87
Workflow file for this run
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: PR Checks | |
| on: | |
| pull_request: | |
| branches: [main] | |
| # The translate workflow opens PRs with the default workflow token, and | |
| # GitHub never starts pull_request runs for those. Dispatching this | |
| # workflow against the PR branch still registers the required "check" on | |
| # the head commit, so those PRs can satisfy branch protection. | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| # npm ci requires exact platform-optional-dependency parity with the lock | |
| # file; that lock file was generated on Windows, so Linux-only optional | |
| # deps (e.g. Rolldown's WASM fallback) are absent and npm ci fails. | |
| - run: npm install | |
| - run: npm run lint | |
| - run: npx tsc -b | |
| - run: npm run build |