From 38e5fd81544066244991ba34853b89fb97b52a68 Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Sun, 12 Apr 2026 08:32:33 -0400 Subject: [PATCH] Fix CI publish: write .npmrc before npm publish NPM_TOKEN secret was not being used properly. Write .npmrc with the token before publish. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fcdf8b4..3f05332 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,6 +33,5 @@ jobs: cache: "npm" - run: npm ci - run: npm run build + - run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc - run: npm publish --access public - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }}