Skip to content

Commit 909df84

Browse files
ci(publish): use npm trusted publishers with OIDC (#101)
## Summary - Add OIDC permissions (`id-token: write`) for npm trusted publishers - Update Node.js to version 24 (ships with npm 11.x for trusted publishing support) - Remove `NODE_AUTH_TOKEN` secret (no longer needed with trusted publishing) - Bump version to 0.1.3 - Fix `repository.url` in package.json to include `https://` prefix <!-- Reviewable:start --> - - - This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/m-lab/ndt7-js/101) <!-- Reviewable:end -->
1 parent ce4dc95 commit 909df84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Node.js
2020
uses: actions/setup-node@v6
2121
with:
22-
node-version: 22
22+
node-version: 24
2323
cache: 'npm'
2424
registry-url: 'https://registry.npmjs.org'
2525

0 commit comments

Comments
 (0)