Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
fix: register npmjs (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixZilber authored Aug 15, 2023
1 parent 1b74b9c commit a4431c1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,13 @@ jobs:
- name: push changes
run: git push --follow-tags origin master

- name: Set up npm authentication
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish Package
run: pnpm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

# - uses: sonots/slack-notice-action@v3
# with:
Expand Down

0 comments on commit a4431c1

Please sign in to comment.