ci: bump Actions off Node 20 runtime (#6) #30
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: ci | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: "22" | |
| cache: npm | |
| - run: npm install | |
| - run: npm run build | |
| - run: npm test | |
| - run: npm run build:docs | |
| - name: CLI smoke (enforcement) | |
| run: npm run smoke | |
| env: | |
| KNOW_CODE_ATTEST_PASSPHRASE: ci-smoke-attest-passphrase | |
| KNOW_CODE_ATTEST_HOME: ${{ runner.temp }}/know-code-attest | |
| - name: CLI smoke (CI verify, no local seals) | |
| run: npm run smoke:verify | |
| env: | |
| KNOW_CODE_ATTEST_PASSPHRASE: ci-smoke-verify-passphrase | |
| KNOW_CODE_ATTEST_HOME: ${{ runner.temp }}/know-code-verify-attest |