Skip to content

Commit

Permalink
Got the wrong environment variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
Sciguymjm committed May 17, 2022
1 parent 1f23f13 commit fcf23cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
- name: Build the project
run: npm run build
- name: Add _auth to .npmrc
run: npm config set '//registry.npmjs.org/:_authToken' "${NPM_AUTH_TOKEN}"
- name: Publish to NPM
run: npm run publish:lib
run: npm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Publish to NPM
run: npm run publish:lib

0 comments on commit fcf23cc

Please sign in to comment.