Skip to content

Commit 0c5886f

Browse files
author
Orta Therox
authored
Update deploy.yml
1 parent 9951045 commit 0c5886f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@ jobs:
2525
- name: Create packages for .d.ts files
2626
run: node deploy/createTypesPackages.js
2727

28-
- run: npm whoami
28+
- run: |
29+
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
30+
npm whoami
2931
env:
30-
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
32+
NPM_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
3133
3234
# Deploy anything which differs from the npm version of a tsconfig
3335
- name: "Deploy built packages to NPM"
3436
run: node deploy/deployChangedPackages.js
3537
env:
36-
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
3738
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)