File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11name : Publish
2-
32on :
43 release :
54 types : [created]
6-
75jobs :
86 publish-npm :
97 runs-on : ubuntu-latest
108 steps :
11- - uses : actions/checkout@v3
12- - uses : actions/setup-node@v3
9+ - name : Checkout the project
10+ uses : actions/checkout@v3
11+ - name : Use Node.js 16.x (LTS)
12+ uses : actions/setup-node@v3
1313 with :
14- node-version : 14
14+ node-version : 16.x
1515 registry-url : https://registry.npmjs.org/
1616 cache : npm
1717 - run : npm ci
1818 - run : npm test
1919 - run : npm version ${TAG_NAME} --git-tag-version=false
2020 env :
2121 TAG_NAME : ${{ github.event.release.tag_name }}
22- - run : npm whoami; npm --ignore-scripts publish
22+ - run : npm whoami; npm publish --access public
2323 env :
2424 NODE_AUTH_TOKEN : ${{secrets.npm_token}}
You can’t perform that action at this time.
0 commit comments