File tree 2 files changed +33
-0
lines changed
2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - " v*.*.*"
7
+ - " v*.*.*-*"
8
+
9
+ jobs :
10
+ npm :
11
+ runs-on : ubuntu-latest
12
+ timeout-minutes : 30
13
+
14
+ steps :
15
+ - name : Checkout
16
+ uses : actions/checkout@v2
17
+ - name : Use Node.js 16.x
18
+ uses : actions/setup-node@v3
19
+ with :
20
+ node-version : 16.x
21
+ - name : Yarn install
22
+ uses : borales/actions-yarn@v4
23
+ with :
24
+ cmd : install --frozen-lockfile
25
+ - name : Set NPM token
26
+ run : echo //registry.npmjs.org/:_authToken=$NPM_TOKEN > ~/.npmrc
27
+ env :
28
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
29
+ - name : NPM publish
30
+ run : npm publish --access public
Original file line number Diff line number Diff line change 36
36
},
37
37
"engines" : {
38
38
"node" : " >=0.10"
39
+ },
40
+ "publishConfig" : {
41
+ "access" : " public"
39
42
}
40
43
}
You can’t perform that action at this time.
0 commit comments