Skip to content

Commit

Permalink
Merge pull request #3 from sellpy/fix/publish-workflows
Browse files Browse the repository at this point in the history
fix: publish to npm workflow files
  • Loading branch information
ThunbergOlle authored Apr 29, 2024
2 parents f8c1607 + 11229ca commit 35aaca2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@ jobs:
- name: Pack package
run: yarn pack

- name: Write authtoken
- name: Auth with npm
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTOMATION_TOKEN }}" > ~/.npmrc
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }}

- name: Publish package
run: yarn npm publish --access public
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }}

0 comments on commit 35aaca2

Please sign in to comment.