Skip to content

Commit cd3ce1e

Browse files
committed
fix: enhance GitHub Packages configuration with verbose logging and .npmrc checks
1 parent e06cdea commit cd3ce1e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,13 @@ jobs:
3232
registry-url: 'https://npm.pkg.github.com'
3333
scope: '@pedroab0'
3434
- run: npm ci
35-
- run: npm pkg set name="@pedroab0/swr-catalyst"
36-
- run: npm publish
35+
- name: Configure for GitHub Packages
36+
run: |
37+
npm pkg set name="@pedroab0/swr-catalyst"
38+
echo "Checking .npmrc location: $NPM_CONFIG_USERCONFIG"
39+
cat $NPM_CONFIG_USERCONFIG
40+
echo "Modified package.json name:"
41+
npm pkg get name
42+
- run: npm publish --verbose
3743
env:
3844
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)