Skip to content

Commit 2f5f3d7

Browse files
committed
fix: add npmrc
1 parent e0a4abe commit 2f5f3d7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ jobs:
4545
# This is needed because we need to install the linting packages
4646
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4747

48-
# - name: Authenticate with the GitHub Package Registry
49-
# if: ${{ steps.changelog.outputs.skipped == 'false' }}
50-
# run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >>
51-
# ~/.npmrc
48+
- name: Authenticate with the GitHub Package Registry
49+
if: ${{ steps.changelog.outputs.skipped == 'false' }}
50+
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >>
51+
~/.npmrc
5252

5353
- name: Github publish package
5454
if: ${{ steps.changelog.outputs.skipped == 'false' }}

0 commit comments

Comments
 (0)