File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed
Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change 2020 - " 18.x"
2121 - " 20.x"
2222 - " 22.x"
23- default : " 20 .x"
23+ default : " 18 .x"
2424
2525jobs :
2626 release :
@@ -32,22 +32,18 @@ jobs:
3232 runs-on : ubuntu-latest
3333 steps :
3434 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
35+
3536 - uses : actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610
3637 with :
3738 node-version : ${{ github.event.inputs.nodeVersion }}
3839 registry-url : " https://registry.npmjs.org"
3940
40- - name : Bump node-vault version
41+ - name : Bump and commit version
4142 run : |
42- npm version ${{ github.event.inputs.semver }}
43-
44- - name : Push changes
45- uses : EndBug/add-and-commit@1bad3abcf0d6ec49a5857d124b0bfb52dc7bb081 # tag: v9.1.3
46- with :
47- default_author : github-actions
48- add : " package.json package-lock.json"
49- commit : --signoff
50- message : " chore(release): bump version to ${{ github.event.inputs.semver }}"
43+ git config --global user.email "github-actions[bot]@github.com"
44+ git config --global user.name "github-actions[bot]"
45+ npm version ${{ github.event.inputs.semver }} --message "chore(release): bump version to %s"
46+ git push --follow-tags
5147
5248 - name : Publish
5349 run : npm publish
You can’t perform that action at this time.
0 commit comments