File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - " v*"
7
+ jobs :
8
+ publish :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v3
12
+ - uses : actions/setup-node@v3
13
+ with :
14
+ node-version : 16
15
+ registry-url : https://registry.npmjs.org/
16
+ - run : npm install
17
+ - run : npm test
18
+ - run : npm publish --access public
19
+ env :
20
+ NODE_AUTH_TOKEN : ${{secrets.NPM_PUBLIC_TOKEN}}
Original file line number Diff line number Diff line change
1
+ name : Test
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - develop
7
+ pull_request :
8
+
9
+ jobs :
10
+ test :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v1
14
+ - uses : actions/setup-node@v1
15
+ with :
16
+ node-version : 16
17
+ registry-url : https://registry.npmjs.org/
18
+ - run : npm install
19
+ - run : npm test
You can’t perform that action at this time.
0 commit comments