Skip to content

Commit

Permalink
fix: update npm registry URL for pnstack in CI workflow and .npmrc
Browse files Browse the repository at this point in the history
  • Loading branch information
npv2k1 committed Jan 23, 2025
1 parent 375c59f commit 7231413
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,8 @@ jobs:
git config --global user.email "[email protected]"
- name: Publish to GitHub Packages
run: |
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > .npmrc
pnpm -r publish --no-git-checks --access public
run: pnpm -r publish --no-git-checks --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_CONFIG_REGISTRY: "https://npm.pkg.github.com"
NPM_CONFIG_REGISTRY: "https://npm.pkg.github.com/pnstack"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@pnstack:registry=https://npm.pkg.github.com
@pnstack:registry=https://npm.pkg.github.com/pnstack
//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}
auto-install-peers=true
strict-peer-dependencies=false

0 comments on commit 7231413

Please sign in to comment.