Skip to content

Commit

Permalink
Try in one swoop
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Dec 7, 2021
1 parent 5b51cad commit eb6a0b5
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,10 @@ jobs:
- name: Create packages for .d.ts files
run: node deploy/createTypesPackages.js

- run: |
- name: "Deploy built packages to NPM"
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
npm whoami
node deploy/deployChangedPackages.js
env:
NPM_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
# Deploy anything which differs from the npm version of a tsconfig
- name: "Deploy built packages to NPM"
run: node deploy/deployChangedPackages.js
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit eb6a0b5

Please sign in to comment.