Repository navigation
ci: bump Actions off Node 20 runtime (#6) #18
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: know-code | |
| # PR-only: grounded verification needs a merge-base ahead of HEAD. On a push | |
| # to main, HEAD *is* origin/main (zero commits ahead), so there is no range to | |
| # recompute and verify can never match a grounded hash. | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| verify: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: "22" | |
| cache: npm | |
| - name: Install and build CLI | |
| run: | | |
| npm install | |
| npm run build | |
| npm install -g ./packages/cli | |
| - name: Verify Know-Code-Verified trailer | |
| run: know-code verify |