File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 23
23
# checkout the repo
24
24
- uses : actions/checkout@v2
25
25
- uses : actions/setup-node@v1
26
+ with :
27
+ node-version : 12
28
+ registry-url : https://registry.npmjs.org/
26
29
- run : npm ci
27
30
28
31
# extract tag name
49
52
# publish to NPMJS
50
53
- uses : actions/setup-node@v1
51
54
with :
52
- node-version : 12
53
55
registry-url : https://registry.npmjs.org/
54
56
- run : npm publish
55
57
env :
58
60
# publish to GitHub Pacakge Registry
59
61
- uses : actions/setup-node@v1
60
62
with :
61
- node-version : 12
62
63
registry-url : https://npm.pkg.github.com/
63
64
scope : ' @validide'
64
- - run : npm publish
65
+ - run : |
66
+ echo @validide:registry=https://npm.pkg.github.com/ >> .npmrc
67
+ npm publish
65
68
env:
66
69
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments