File tree Expand file tree Collapse file tree 1 file changed +2
-19
lines changed Expand file tree Collapse file tree 1 file changed +2
-19
lines changed Original file line number Diff line number Diff line change @@ -18,44 +18,27 @@ jobs:
18
18
GITHUB_USER : ${{ secrets.CI_NAME }}
19
19
GITHUB_EMAIL : ${{ secrets.CI_EMAIL }}
20
20
21
- publish-npm :
22
- needs : bump-version
23
- runs-on : ubuntu-latest
24
- steps :
25
- - name : Checkout Code
26
- uses : actions/checkout@v2
27
-
28
21
- name : Set up Node.js
29
22
uses : actions/setup-node@v1
30
23
with :
31
24
node-version : 12
32
25
registry-url : https://registry.npmjs.org/
33
26
34
- - name : Publish
27
+ - name : Publish NPM
35
28
run : |
36
29
npm ci
37
30
npm run build
38
31
npm publish
39
32
env :
40
33
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
41
34
42
- publish-gpr :
43
- needs : bump-version
44
- runs-on : ubuntu-latest
45
- steps :
46
- - name : Checkout Code
47
- uses : actions/checkout@v2
48
-
49
35
- name : Set up Node.js
50
36
uses : actions/setup-node@v1
51
37
with :
52
- node-version : 12
53
38
registry-url : https://npm.pkg.github.com/
54
39
55
- - name : Publish
40
+ - name : Publish GPR
56
41
run : |
57
- npm ci
58
- npm run build
59
42
npm publish
60
43
env :
61
44
NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments