Skip to content

Commit a31119d

Browse files
chore: add NPM auth preflight step to semantic-release workflow
1 parent d7bc599 commit a31119d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/semantic-release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ jobs:
2222
node-version: 20
2323
registry-url: https://registry.npmjs.org/
2424

25+
- name: NPM auth preflight
26+
run: |
27+
node -v
28+
npm -v
29+
npm config get registry
30+
npm whoami
31+
env:
32+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
33+
2534
- uses: cycjimmy/semantic-release-action@v4
2635
with:
2736
semantic_version: 24

0 commit comments

Comments
 (0)