Skip to content

Commit 056d25d

Browse files
ci: Use latest version of npm for publishing.
1 parent 14a5d48 commit 056d25d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/node-ci.prod.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ jobs:
183183
shell: bash
184184
- name: Set package.json version
185185
run: yarn version "${{ needs.bump-version.outputs.version }}"
186+
- run: npm i -g npm@latest
186187
- name: Publish package
187-
run: yarn npm publish --access=public --tag latest
188-
env:
189-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
188+
run: npm publish --access=public --tag latest

0 commit comments

Comments
 (0)