Skip to content

Commit c517e75

Browse files
fix: remove NODE_AUTH_TOKEN for trusted publishing OIDC
1 parent 44e505d commit c517e75

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,13 @@ jobs:
175175
- uses: actions/setup-node@v4
176176
with:
177177
node-version: 22
178-
registry-url: https://registry.npmjs.org
179178

180179
- name: Ensure latest npm (for trusted publishing)
181180
run: npm install -g npm@latest
182181

182+
- name: Configure npm registry
183+
run: npm config set registry https://registry.npmjs.org/
184+
183185
- name: Install @napi-rs/cli
184186
run: npm install -g @napi-rs/cli
185187

0 commit comments

Comments
 (0)