File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Build and Publish API
22
33permissions :
4+ id-token : write
45 contents : write
56
67on :
@@ -15,10 +16,10 @@ jobs:
1516 # set up Node/Yarn and build the package
1617 - name : Checkout repository
1718 uses : actions/checkout@v3
18- - name : Use Node.js 18
19+ - name : Set up Node
1920 uses : actions/setup-node@v3
2021 with :
21- node-version : 18 .x
22+ node-version : 24 .x
2223 cache : " yarn"
2324 - name : Install packages
2425 run : yarn install
5455 message : " chore: bump version to ${{ env.api_version }} [skip ci]"
5556 - name : Publish to NPM
5657 if : ${{ steps.checkTag.outputs.exists }} != true
57- uses : JS-DevTools/npm-publish@v3
58- with :
59- access : public
60- token : ${{ secrets.NPM_TOKEN }}
58+ run : npm publish
6159
6260 # update upryzing.js's repo
6361 - name : Checkout upryzing.js repository
You can’t perform that action at this time.
0 commit comments