Skip to content

ci: bump Actions off Node 20 runtime (#6) #18

ci: bump Actions off Node 20 runtime (#6)

ci: bump Actions off Node 20 runtime (#6) #18

Workflow file for this run

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