File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -2,31 +2,26 @@ name: Publish Package
22
33on :
44 release :
5- types : [created ]
5+ types : [published ]
66
77jobs :
8- publish-npm :
8+ publish :
99 runs-on : ubuntu-18.04
1010 steps :
1111 - uses : actions/checkout@v2
1212 - uses : actions/setup-node@v1
1313 with :
14- node-version : 10
14+ node-version : ' 10.x '
1515 registry-url : https://registry.npmjs.org/
1616 - run : npm ci
1717 - run : npm publish --access public
1818 env :
1919 NODE_AUTH_TOKEN : ${{secrets.NODE_AUTH_TOKEN}}
2020
21- publish-gpr :
22- runs-on : ubuntu-18.04
23- steps :
24- - uses : actions/checkout@v2
2521 - uses : actions/setup-node@v1
2622 with :
27- node-version : 10
23+ node-version : ' 10.x '
2824 registry-url : https://npm.pkg.github.com/
29- - run : npm ci
3025 - run : npm publish --access public
3126 env :
3227 NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments