File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 1
- name : Publish NPM package
1
+ name : Release
2
2
3
3
on :
4
4
push :
5
- branches : ['master']
5
+ branches :
6
+ - master
6
7
7
8
jobs :
8
9
build :
9
- name : publish the package to NPM
10
+ name : Release
10
11
runs-on : ubuntu-latest
11
12
12
13
strategy :
@@ -15,12 +16,15 @@ jobs:
15
16
16
17
steps :
17
18
- uses : actions/checkout@v2
19
+ with :
20
+ fetch-depth : 0
18
21
- name : Use Node.js ${{ matrix.node-version }}
19
22
uses : actions/setup-node@v1
20
23
with :
21
24
node-version : ${{ matrix.node-version }}
22
25
- run : npm install
23
- - uses : JS-DevTools/npm-publish@v1
24
- with :
25
- token : ${{ secrets.NPM_TOKEN }}
26
- access : ' public'
26
+ - name : Release
27
+ env :
28
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
30
+ run : npx semantic-release
You can’t perform that action at this time.
0 commit comments