Skip to content

Commit

Permalink
ci: ensure we can authenticate to the github npm registry
Browse files Browse the repository at this point in the history
  • Loading branch information
ebr committed Jan 26, 2024
1 parent 14bb782 commit 7c37b66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ jobs:

- name: Install dependencies
run: pnpm install --frozen-lockfile
env:
# NODE_AUTH_TOKEN: ${{ matrix.registry.token }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Version bump
# only if manual workflow dispatch and not on a tag
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}
auto-install-peers=true

0 comments on commit 7c37b66

Please sign in to comment.