Skip to content

Commit 7ce92db

Browse files
authored
Install latest node for publish only
1 parent 8edb9bf commit 7ce92db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ jobs:
1818
node-version: 18
1919
registry-url: https://registry.npmjs.org/
2020
cache: npm
21-
- run: npm install -g npm@latest
2221
- run: npm ci
2322
- run: npm test
2423
- run: npm version ${TAG_NAME} --git-tag-version=false
2524
env:
2625
TAG_NAME: ${{ github.event.release.tag_name }}
26+
- run: npm install -g npm
2727
- run: npm whoami; npm --ignore-scripts publish --provenance --access public
2828
env:
2929
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)