Skip to content

Commit

Permalink
Bugfix publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jessety committed May 23, 2021
1 parent cccf657 commit 377bd90
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:
node-version: 14.x
registry-url: https://npm.pkg.github.com/
always-auth: true
scope: "@jessety"
- name: Download build
uses: actions/download-artifact@v2
with:
Expand All @@ -75,7 +76,5 @@ jobs:
run: echo $(cat package.json | jq '.name= "@jessety/\(.name)"') > package.json
- name: Publish
run: npm publish --registry=https://npm.pkg.github.com/@jessety
- name: Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by GitHub, and requires no setup

0 comments on commit 377bd90

Please sign in to comment.