Skip to content
This repository was archived by the owner on Oct 2, 2025. It is now read-only.

Commit a4b24b8

Browse files
committed
chore: add npm authentication to manual release
1 parent 38f4800 commit a4b24b8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/manual-release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ jobs:
3333
- name: Create Build
3434
run: npm run build
3535

36+
# NPM expects to be authenticated for publishing. This step will fail CI if NPM is not authenticated
37+
- name: Check NPM authentication
38+
run: |
39+
echo "//registry.npmjs.org/:_authToken=${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}" >> .npmrc
40+
npm whoami
41+
3642
- name: Release
3743
env:
3844
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)