Skip to content

Commit 55b960b

Browse files
author
Orta Therox
authored
Update deploy.yml
1 parent d3f8707 commit 55b960b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ jobs:
2727

2828
- name: "Deploy built packages to NPM"
2929
run: |
30-
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
30+
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
31+
npm i -g npm@latest
3132
npm whoami
3233
node deploy/deployChangedPackages.js
3334
env:
3435
NPM_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
35-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)