File tree Expand file tree Collapse file tree 2 files changed +17
-29
lines changed
Expand file tree Collapse file tree 2 files changed +17
-29
lines changed Original file line number Diff line number Diff line change @@ -12,23 +12,29 @@ jobs:
1212 npm :
1313 runs-on : ubuntu-latest
1414 steps :
15- - uses : actions/checkout@v1
16- - name : Run ./ci/steps/publish-npm.sh
17- uses : ./ci/images/debian10
15+ - uses : actions/checkout@v2
16+
17+ - name : Download npm package
18+ uses : actions/download-artifact@v2
1819 with :
19- args : ./ci/steps/publish-npm.sh
20- env :
21- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
22- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
20+ name : npm-package
21+
22+ - name : Decompress npm package
23+ run : tar -xzf package.tar.gz
24+
25+ - name : Write npm token to config
26+ run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
27+
28+ - name : Run yarn publish
29+ run : yarn publish --non-interactive release
2330
2431 docker :
2532 runs-on : ubuntu-latest
2633 steps :
27- - uses : actions/checkout@v1
34+ - uses : actions/checkout@v2
35+
2836 - name : Run ./ci/steps/push-docker-manifest.sh
29- uses : ./ci/images/debian10
30- with :
31- args : ./ci/steps/push-docker-manifest.sh
37+ run : ./ci/steps/push-docker-manifest.sh
3238 env :
3339 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3440 DOCKER_USERNAME : ${{ secrets.DOCKER_USERNAME }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments