Skip to content

Commit 0d5f1e4

Browse files
authored
ci: update npm publish
- use npm trusted publisher
1 parent 95333fe commit 0d5f1e4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ jobs:
2020
registry-url: 'https://registry.npmjs.org'
2121

2222
- name: Install
23-
run: npm ci
23+
run: |
24+
npm install -g npm@latest
25+
npm ci
2426
2527
- name: Build
2628
run: npm run lib-build
@@ -30,5 +32,3 @@ jobs:
3032

3133
- name: Publish on NPM
3234
run: npm publish
33-
env:
34-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)