Skip to content

Commit c8f71c6

Browse files
authored
Update npm-publish.yml with NPM_TOKEN (#35)
1 parent f72c64f commit c8f71c6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,10 @@ jobs:
2323
node-version: '18.x'
2424
registry-url: 'https://registry.npmjs.org/'
2525

26-
# Ensure npm 11.5.1 or later is installed
27-
- name: Update npm
28-
run: npm install -g npm@latest
29-
3026
- name: Prepare publish
3127
run: npm ci
3228

3329
- name: Publish package
3430
run: npm publish
31+
env:
32+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)