Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
# pnpm version comes from "packageManager" in package.json (SSOT);
# pnpm/action-setup@v6 errors if both are specified.
- uses: pnpm/action-setup@v6
- uses: actions/setup-node@v7
with:
node-version: '22'
- run: npm ci --ignore-scripts
cache: pnpm
- run: pnpm install --frozen-lockfile --ignore-scripts
# build + the full test suite, identical to what runs locally
- run: npm run verify
- run: pnpm run verify
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
id-token: write
steps:
- uses: actions/checkout@v7
# pnpm version comes from "packageManager" in package.json (SSOT).
- uses: pnpm/action-setup@v6
- uses: actions/setup-node@v7
with:
# npm >= 11.5.1 is required for trusted publishing (OIDC); Node 24 ships it.
Expand All @@ -55,11 +57,11 @@ jobs:
fi

- if: steps.check.outputs.publish == 'true'
run: npm ci --ignore-scripts
run: pnpm install --frozen-lockfile --ignore-scripts

# Never publish something that would not have passed CI.
- if: steps.check.outputs.publish == 'true'
run: npm run verify
run: pnpm run verify

# Auth is trusted publishing (OIDC): npm accepts this job's identity token
# because the package's Trusted Publisher is pinned to exactly this repo
Expand Down
Loading