Skip to content

Commit

Permalink
github actions: this should work for npm
Browse files Browse the repository at this point in the history
  • Loading branch information
lostfields committed Apr 7, 2020
1 parent 2981e44 commit e0ad67b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,9 @@ jobs:
scope: tfso
- name: publish
run: |
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm config set scope "<@tfso>"
npm config list
npm ci
npm run build
npm publish --access public
npm publish --@tfso:registry=https://registry.npmjs.org/
env:
CI: true
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
Expand Down

0 comments on commit e0ad67b

Please sign in to comment.