File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change 88 types : [created]
99
1010jobs :
11- build :
12- runs-on : ubuntu-latest
13- steps :
14- - uses : actions/checkout@v2
15- - uses : actions/setup-node@v2
16- with :
17- node-version : 14
18- - run : npm ci
19- - run : npm run build
20-
2111 publish-npm :
22- needs : build
2312 runs-on : ubuntu-latest
2413 steps :
2514 - uses : actions/checkout@v2
@@ -28,12 +17,12 @@ jobs:
2817 node-version : 14
2918 registry-url : https://registry.npmjs.org/
3019 - run : npm ci
20+ - run : npm run build
3121 - run : npm publish
3222 env :
3323 NODE_AUTH_TOKEN : ${{secrets.npm_token}}
3424
3525 publish-gpr :
36- needs : build
3726 runs-on : ubuntu-latest
3827 permissions :
3928 contents : read
4534 node-version : 14
4635 registry-url : https://npm.pkg.github.com/
4736 - run : npm ci
37+ - run : npm run build
4838 - run : npm publish
4939 env :
5040 NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments