File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 3737 export TAG_NAME=${{ needs.draft_release.outputs.tag_name }}
3838 echo "VERSION=${TAG_NAME:1}" >> $GITHUB_ENV
3939
40- - uses : actions/setup-node@v4
41- with :
42- node-version-file : .tool-versions
43- registry-url : ' https://registry.npmjs.org'
44-
45- # Ensure npm 11.5.1 or later for trusted publishing
46- - name : Update npm
47- run : npm install -g npm@latest
48-
4940 # Use GitHub App for bypassing ruleset guard when git push by npm publish
5041 - uses : actions/create-github-app-token@v2
5142 id : app-token
6152 git config user.name github-actions
6253 git config user.email github-actions@github.com
6354
55+ - uses : actions/setup-node@v4
56+ with :
57+ node-version-file : .tool-versions
58+ registry-url : ' https://registry.npmjs.org'
59+ # Ensure npm 11.5.1 or later for trusted publishing
60+ - name : Update npm
61+ run : npm install -g npm@latest
62+
6463 # npm publish and push updated package.json
6564 - name : Publish to npm and jsr
6665 run : |
You can’t perform that action at this time.
0 commit comments