File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 1616 release :
1717 name : " Release & Publish"
1818 runs-on : ubuntu-latest
19+ permissions :
20+ contents : write
21+ id-token : write
1922 steps :
2023 - name : 🧮 Checkout code
2124 uses : actions/checkout@v3
2629 uses : actions/setup-node@v3
2730 with :
2831 cache : ' yarn'
32+ registry-url : " https://registry.npmjs.org"
33+
34+ # Ensure npm 11.5.1 or later is installed
35+ - name : Update npm
36+ run : npm install -g npm@latest
2937
3038 - name : 🗜️ Set up python environment
3139 uses : actions/setup-python@v3
4856
4957 - name : 🚀 Publish to npm
5058 id : npm-publish
51- uses : JS-DevTools/npm-publish@v1
52- with :
53- token : ${{ secrets.NPM_TOKEN }}
54- access : public
59+ run : |
60+ npm publish --access public --provenance
61+ echo "version=$(jq -r '.version' package.json)" >> $GITHUB_OUTPUT
5562
5663 - name : 🧬 Create release
5764 uses : actions/create-release@v1
You can’t perform that action at this time.
0 commit comments