File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -20,20 +20,15 @@ jobs:
20
20
runs-on : ubuntu-latest
21
21
steps :
22
22
- uses : actions/checkout@v3
23
- with :
24
- fetch-depth : 20
25
23
- uses : actions/setup-node@v3
26
24
with :
27
- node-version : 14.x
28
- registry-url : ' https://registry.npmjs.org'
25
+ node-version : 18
29
26
- run : npm ci || npm install
30
- - uses : fregante/setup-git-user@v1
31
- - run : npm version ${{ github.event.inputs.Version }}
27
+ - uses : fregante/setup-git-user@v2
28
+ - run : npm version " ${{ github.event.inputs.Version }}"
32
29
- run : npm publish
33
30
env :
34
31
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
35
- - run : git push --follow-tags
36
- - uses : fregante/release-with-changelog@v3
37
- with :
38
- token : ${{ secrets.GITHUB_TOKEN }}
39
- exclude : true
32
+ - run : gh release create "${{ github.event.inputs.Version }}" --generate-notes
33
+ env :
34
+ GH_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments