File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -13,18 +13,25 @@ jobs:
1313 release :
1414 needs : test
1515 runs-on : ubuntu-latest
16+ permissions :
17+ contents : read
18+ id-token : write
1619 steps :
1720 - uses : actions/checkout@v2
21+ - uses : actions/setup-node@v4
22+ with :
23+ node-version : 20
24+ registry-url : " https://registry.npmjs.org"
1825 - uses : ./.github/actions/setup-test-env
1926 - id : npm-publish
2027 name : Publish requirefire to npm
21- uses : JS-DevTools/npm-publish@v1
28+ uses : JS-DevTools/npm-publish@v4
2229 with :
23- token : ${{ secrets.NPM_TOKEN }}
2430 access : public
31+ provenance : true
2532 - name : Publish Release to github
2633 uses : softprops/action-gh-release@v1
2734 if : ${{ steps.npm-publish.outputs.type != 'none' }}
2835 with :
2936 tag_name : ${{ steps.npm-publish.outputs.version }}
30- generate_release_notes : true
37+ generate_release_notes : true
Original file line number Diff line number Diff line change 55 "license" : " MIT" ,
66 "repository" : {
77 "type" : " git" ,
8- "url" : " https://github.com/gadget-inc/requirefire.git"
8+ "url" : " git+ https://github.com/gadget-inc/requirefire.git"
99 },
1010 "publishConfig" : {
1111 "access" : " public"
You can’t perform that action at this time.
0 commit comments