File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 1919 node-version : ' 20.x'
2020 registry-url : ' https://registry.npmjs.org'
2121
22- - run : npm install
22+ - name : Install dependencies
23+ run : npm install
2324
24- - run : npm publish --provenance --access public
25+ - name : Publish package
26+ run : npm publish --provenance --access public
2527 env :
2628 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
2729
3032 permissions :
3133 contents : read
3234 id-token : write
35+ packages : write
3336 steps :
3437 - uses : actions/checkout@v4
3538
3942 registry-url : ' https://npm.pkg.github.com'
4043 scope : ' @hostinger'
4144
42- - run : npm install
45+ - name : Install dependencies
46+ run : npm install
4347
44- - run : |
48+ - name : Publish package
49+ run : |
4550 sed -i 's+"name": ".*+"name": "@${{ github.repository }}",+gI' ./package.json
4651 npm publish --provenance --access public
4752 env :
You can’t perform that action at this time.
0 commit comments