Skip to content

Commit 02841ac

Browse files
committed
Tweak release script
1 parent 821a7e7 commit 02841ac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.js.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ jobs:
2020
- run: npm ci
2121
- run: npm run build --if-present
2222
- run: npm test
23-
- run: npm run release --ci
23+
- run: |
24+
npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
25+
npm run release --ci
2426
env:
2527
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2628
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)