fix publish: write .npmrc to home dir for auth in subdirectories
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
9154085e2c
commit
7dd1a69413
@@ -79,8 +79,8 @@ jobs:
|
||||
- name: Prepare and publish
|
||||
working-directory: napi
|
||||
run: |
|
||||
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > .npmrc
|
||||
echo "@firecrawl:registry=https://npm.pkg.github.com" >> .npmrc
|
||||
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc
|
||||
echo "@firecrawl:registry=https://npm.pkg.github.com" >> ~/.npmrc
|
||||
|
||||
VERSION=$(node -p "require('./package.json').version")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user