From 7dd1a69413b50ac1f21c1553c59a24af19c64405 Mon Sep 17 00:00:00 2001 From: Abimael Martell Date: Thu, 2 Apr 2026 11:54:41 -0700 Subject: [PATCH] fix publish: write .npmrc to home dir for auth in subdirectories Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index dfb39fe..1c5e0f2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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")