File tree 2 files changed +23
-3
lines changed
2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : npm Package
2
+
3
+ on :
4
+ release :
5
+ types : [prereleased]
6
+
7
+ jobs :
8
+ publish-npm :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+ - uses : actions/setup-node@v2
13
+ with :
14
+ node-version : " 14"
15
+ registry-url : " https://registry.npmjs.org"
16
+ - run : npm ci
17
+ - run : npm --no-git-tag-version version ${{ github.event.release.tag_name }}
18
+ - run : npm publish --access public --tag next
19
+ env :
20
+ NODE_AUTH_TOKEN : ${{ secrets.npm_token }}
Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
steps :
11
11
- uses : actions/checkout@v2
12
- - uses : actions/setup-node@v1
12
+ - uses : actions/setup-node@v2
13
13
with :
14
- node-version : 14
15
- registry-url : https://registry.npmjs.org/
14
+ node-version : " 14 "
15
+ registry-url : " https://registry.npmjs.org"
16
16
- run : npm ci
17
17
- run : npm --no-git-tag-version version ${{ github.event.release.tag_name }}
18
18
- run : npm publish --access public
You can’t perform that action at this time.
0 commit comments