Skip to content

Commit 67ce676

Browse files
committed
ci: add NPM_TOKEN
1 parent 9d4e622 commit 67ce676

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ jobs:
103103
steps:
104104
- uses: actions/checkout@v4
105105
- name: Run deployment
106+
env:
107+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
106108
run: |
107109
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ./.npmrc
108110
echo 'Publishing library prerelease'
@@ -126,6 +128,8 @@ jobs:
126128
steps:
127129
- uses: actions/checkout@v4
128130
- name: Publish release
131+
env:
132+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
129133
run: |
130134
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ./.npmrc
131135
echo 'Publishing library'

0 commit comments

Comments
 (0)