Skip to content

Commit e6d3590

Browse files
committed
fix: use npm OIDC trusted publishing (Node 24, no NPM_TOKEN)
1 parent 2c52668 commit e6d3590

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
- name: Setup Node.js
8383
uses: actions/setup-node@v4
8484
with:
85-
node-version: '22'
85+
node-version: '24'
8686
cache: 'npm'
8787
registry-url: 'https://registry.npmjs.org'
8888

@@ -102,6 +102,4 @@ jobs:
102102
run: ls -la native/*.node
103103

104104
- name: Publish to npm
105-
run: npm publish --provenance --access public
106-
env:
107-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
105+
run: npm publish --access public

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Fixed
1111
- Rust code formatting (cargo fmt)
12+
- CI publish workflow: use Node 24 + npm OIDC trusted publishing (no token required)
1213

1314
## [0.3.1] - 2025-01-18
1415

0 commit comments

Comments
 (0)