Skip to content

Commit 626a38d

Browse files
updated release workflow
1 parent 19ec59d commit 626a38d

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,19 @@ jobs:
1919
with:
2020
fetch-depth: 0
2121

22+
- name: Clear npm auth
23+
run: |
24+
rm -f ~/.npmrc
25+
rm -f .npmrc
26+
npm config delete //registry.npmjs.org/:_authToken || true
27+
npm config delete _authToken || true
28+
2229
- name: Setup Node.js
2330
uses: actions/setup-node@v4
2431
with:
2532
node-version: '20'
2633
registry-url: 'https://registry.npmjs.org'
34+
always-auth: true
2735

2836
- name: Install dependencies
2937
run: npm install

0 commit comments

Comments
 (0)