Commit f28f10e 1 parent 7c9e39f commit f28f10e Copy full SHA for f28f10e
File tree 4 files changed +41
-0
lines changed
4 files changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Node.js Package
2
+
3
+ on :
4
+ release :
5
+ types : [created]
6
+
7
+ jobs :
8
+ build :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+ - uses : actions/setup-node@v2
13
+ with :
14
+ node-version : 12
15
+ - run : npm ci
16
+ - run : npm test
17
+
18
+ publish-gpr :
19
+ needs : build
20
+ runs-on : ubuntu-latest
21
+ permissions :
22
+ packages : write
23
+ contents : read
24
+ steps :
25
+ - uses : actions/checkout@v2
26
+ - uses : actions/setup-node@v2
27
+ with :
28
+ node-version : 12
29
+ registry-url : https://npm.pkg.github.com/
30
+ - run : npm ci
31
+ - run : npm publish
32
+ env :
33
+ NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change @@ -97,3 +97,7 @@ lcov.info
97
97
coverage /lcov-report /
98
98
99
99
.DS_Store
100
+ test /coverage /* .xml
101
+ test /coverage /* .json
102
+ test /coverage /* .info
103
+ test /coverage /lcov-report
Original file line number Diff line number Diff line change
1
+ @128keaton:registry = https://npm.pkg.github.com
Original file line number Diff line number Diff line change 39
39
"dependencies" : {
40
40
"qs" : " ^6.10.1"
41
41
},
42
+ "publishConfig" : {
43
+ "@128keaton:registry" : " https://npm.pkg.github.com"
44
+ },
42
45
"files" : [
43
46
" dist"
44
47
]
You can’t perform that action at this time.
0 commit comments