Skip to content

Commit 6c9521f

Browse files
committed
Fix up "Use symbolic GitHub Actions Node.js versions (microsoft#49403)"
1 parent f72b1ba commit 6c9521f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/nightly.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v2
1818
- 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/
1922
- name: Setup and publish nightly
2023
run: |
2124
npm whoami
@@ -26,4 +29,4 @@ jobs:
2629
gulp clean
2730
npm publish --tag next
2831
env:
29-
NPM_TOKEN: ${{secrets.npm_token}}
32+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

.github/workflows/update-package-lock.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
run: |
2121
git config user.email "[email protected]"
2222
git config user.name "TypeScript Bot"
23-
npm install --package-lock-only
23+
npm install --package-lock-only --ignore-scripts
2424
git add -f package-lock.json
2525
if git commit -m "Update package-lock.json"; then
2626
git push

0 commit comments

Comments
 (0)