Skip to content

Commit a48944d

Browse files
jaysin586claude
andauthored
ci: drop Node 20 + add environment: production to publish job (fix OIDC) (#159)
* ci: drop Node 20 from CI matrix Node 20 is EOL and the pinned pnpm no longer supports it (Node 20 leg fails install with ERR_PNPM_UNSUPPORTED_ENGINE). Keep 22 + 24. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * ci(npm-publish): add environment: production to publish job for OIDC The npm trusted publisher for this package is scoped to the `production` environment, but the publish-github-packages job did not declare it, so the OIDC token lacked the environment claim and npm rejected the trusted publish with ENEEDAUTH (run 28196102507). Every other repo already sets this. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 413c46c commit a48944d

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/coveralls.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: blacksmith-2vcpu-ubuntu-2404 # trunk-ignore(actionlint/runner-label)
1616
strategy:
1717
matrix:
18-
node-version: [20, 22, 24]
18+
node-version: [22, 24]
1919
steps:
2020
- name: Checkout
2121
uses: actions/checkout@v6 # zizmor: ignore[unpinned-uses]

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ jobs:
200200
runs-on: blacksmith-2vcpu-ubuntu-2404 # trunk-ignore(actionlint/runner-label)
201201
strategy:
202202
matrix:
203-
node-version: [20, 22, 24]
203+
node-version: [22, 24]
204204
permissions:
205205
contents: read
206206
packages: write
@@ -307,6 +307,7 @@ jobs:
307307
needs: [check-if-merged, build, playwright-tests, coverage-report]
308308
if: needs.check-if-merged.outputs.should_run == 'true'
309309
runs-on: ubuntu-latest
310+
environment: production
310311
permissions:
311312
contents: write
312313
packages: write

0 commit comments

Comments
 (0)