File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change 1
1
# https://help.github.com/en/actions/language-and-framework-guides/publishing-nodejs-packages
2
- name : Package
2
+ name : Release
3
3
on :
4
- release :
5
- types : [created]
4
+ push :
5
+ tags :
6
+ - ' *'
6
7
jobs :
7
- build :
8
+ release :
8
9
runs-on : ubuntu-latest
9
10
steps :
10
- - uses : actions/checkout@v2
11
-
12
- - uses : actions/setup-node@v1
11
+ - uses : actions/checkout@v4
12
+ - name : Create GitHub Release
13
+ uses :
ncipollo/release-action@6c75be85e571768fa31b40abf38de58ba0397db5 # [email protected]
14
+ with :
15
+ tag : ${{github.event.release.tag_name}}
16
+ - uses : actions/setup-node@v4
13
17
with :
14
- node-version : ' 12.x '
18
+ node-version : ' 18 '
15
19
registry-url : ' https://registry.npmjs.org/'
16
20
- run : npm install
17
21
- run : npm publish --access public
You can’t perform that action at this time.
0 commit comments