File tree 2 files changed +17
-29
lines changed
2 files changed +17
-29
lines changed Original file line number Diff line number Diff line change @@ -12,23 +12,29 @@ jobs:
12
12
npm :
13
13
runs-on : ubuntu-latest
14
14
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
18
19
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
23
30
24
31
docker :
25
32
runs-on : ubuntu-latest
26
33
steps :
27
- - uses : actions/checkout@v1
34
+ - uses : actions/checkout@v2
35
+
28
36
- 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
32
38
env :
33
39
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34
40
DOCKER_USERNAME : ${{ secrets.DOCKER_USERNAME }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments