File tree Expand file tree Collapse file tree 4 files changed +26
-40
lines changed Expand file tree Collapse file tree 4 files changed +26
-40
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Publish To NPM
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ jobs :
7
+ release :
8
+ name : Release
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Checkout
12
+ uses : actions/checkout@v2
13
+ - name : Setup Node
14
+ uses : actions/setup-node@v1
15
+ with :
16
+ node-version : 12
17
+ registry-url : https://registry.npmjs.org
18
+ - name : Install Dependencies
19
+ run : npm install
20
+ - name : Compile Source
21
+ run : npm run compile
22
+ - name : Publish Package
23
+ run : npm publish
24
+ env :
25
+ NODE_AUTH_TOKEN : ${{secrets.NPM_AUTH_TOKEN}}
Original file line number Diff line number Diff line change 44
44
},
45
45
"scripts" : {
46
46
"start" : " tsc --watch" ,
47
- "test" : " tsc -d && echo 'Please use the test environment'" ,
48
- "prepublish" : " tsc" ,
47
+ "test" : " echo 'Please use the test environment'" ,
49
48
"compile" : " tsc" ,
50
49
"package" : " npm pack"
51
50
},
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments