Skip to content

Commit

Permalink
馃攼 fix npm auth token in env
Browse files Browse the repository at this point in the history
  • Loading branch information
micaiah-effiong committed Jun 13, 2022
1 parent e5a27ef commit fa92456
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
- name: Install dependencies
run: npm ci
- name: Publish to npm
run: npm publish
run: npm publish --access public
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

0 comments on commit fa92456

Please sign in to comment.