File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99permissions :
1010 id-token : write
11- contents : read
11+ contents : write
1212
1313jobs :
1414 deploy :
@@ -21,17 +21,21 @@ jobs:
2121 with :
2222 version : 10
2323 - name : Install Node
24- uses : actions/setup-node@v4
24+ uses : actions/setup-node@v6
2525 with :
2626 node-version : 24
2727 registry-url : " https://registry.npmjs.org"
2828 cache : " pnpm"
2929 - name : Install dependencies and test
3030 run : pnpm install-test --frozen-lockfile
3131 - name : Publish
32- run : pnpm publish --ignore-scripts --no-git-checks
33- env :
34- NPM_CONFIG_PROVENANCE : true
32+ uses : JS-DevTools/npm-publish@v4
33+ id : publish
34+ with :
35+ provenance : true
36+ ignore-scripts : true
37+ - if : ${{ steps.publish.outputs.type }}
38+ run : echo "Version changed!"
3539 - name : Pages
3640 run : pnpm run deploy
3741 - uses : JamesIves/github-pages-deploy-action@v4
You can’t perform that action at this time.
0 commit comments