File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 16
16
steps :
17
17
- uses : actions/checkout@v2
18
18
- uses : actions/setup-node@v3
19
+ with :
20
+ # Use NODE_AUTH_TOKEN environment variable to authenticate to this registry.
21
+ registry-url : https://registry.npmjs.org/
19
22
- name : Setup and publish nightly
20
23
run : |
21
24
npm whoami
26
29
gulp clean
27
30
npm publish --tag next
28
31
env :
29
- NPM_TOKEN : ${{secrets.npm_token}}
32
+ NODE_AUTH_TOKEN : ${{secrets.npm_token}}
Original file line number Diff line number Diff line change @@ -15,12 +15,14 @@ jobs:
15
15
steps :
16
16
- uses : actions/checkout@v2
17
17
- uses : actions/setup-node@v3
18
+ with :
19
+ node-version : 14
18
20
19
21
- name : Configure git and update package-lock.json
20
22
run : |
21
23
git config user.email "[email protected] "
22
24
git config user.name "TypeScript Bot"
23
- npm install --package-lock-only
25
+ npm install --package-lock-only --ignore-scripts
24
26
git add -f package-lock.json
25
27
if git commit -m "Update package-lock.json"; then
26
28
git push
You can’t perform that action at this time.
0 commit comments