fix publish: write .npmrc to home dir for auth in subdirectories
Publish npm package / Build x86_64-unknown-linux-gnu (push) Has been cancelled
Publish npm package / Publish to GitHub Packages (push) Has been cancelled
Publish npm package / Build aarch64-apple-darwin (push) Has been cancelled

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Abimael Martell
2026-04-02 11:54:41 -07:00
co-authored by Claude Opus 4.6
parent 9154085e2c
commit 7dd1a69413
+2 -2
View File
@@ -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")