File tree Expand file tree Collapse file tree 3 files changed +25
-16
lines changed Expand file tree Collapse file tree 3 files changed +25
-16
lines changed Original file line number Diff line number Diff line change 11name : CI
22
3- on : [push]
3+ on :
4+ push :
5+ branches-ignore :
6+ - ' master'
47
58jobs :
69 build :
Original file line number Diff line number Diff line change 66 - ' v*'
77
88jobs :
9- build :
9+ build :
1010 runs-on : ubuntu-latest
11- steps :
12- - uses : actions/checkout@v1
11+ steps :
12+ - uses : actions/checkout@v2
1313 - uses : actions/setup-node@v1
14- with :
15- node-version : 10.15.0
16- registry-url : https://npm.pkg.github.com/
17- scope : ' @xyoraclenetwork'
18- - name : Build and Test
19- run : |
20- yarn install
21- yarn build
22- yarn test
23- - name : publish
24- run : yarn publish
14+ with :
15+ node-version : 10.15.0
16+ - run : npm ci
17+ - run : npm test
18+
19+ publish-gpr :
20+ needs : build
21+ runs-on : ubuntu-latest
22+ steps :
23+ - uses : actions/checkout@v2
24+ - uses : actions/setup-node@v1
25+ with :
26+ node-version : 10.15.0
27+ registry-url : https://npm.pkg.github.com/
28+ scope : ' @xyoraclenetwork'
29+ - run : npm ci
30+ - run : npm publish
2531 env :
2632 NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change 1- registry = https://npm.pkg.github.com/@xyoraclenetwork
1+ registry = https://npm.pkg.github.com/
You can’t perform that action at this time.
0 commit comments