From 57bd56a39f0e311f587d20cf251789aed76254e4 Mon Sep 17 00:00:00 2001 From: Kaushik Gnanaskandan Date: Wed, 18 Mar 2026 03:38:48 +0000 Subject: [PATCH] fix(ci): add Verdaccio auth token before publish step pnpm requires an auth token to publish even when Verdaccio allows anonymous access. Set a dummy token in both integration and e2e jobs. https://claude.ai/code/session_01JSQtQwPZruxTYAqKBKickV --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7aee26c..0474e3b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,6 +57,9 @@ jobs: - name: Wait for Verdaccio run: npx wait-on http://localhost:4873 --timeout 30000 + - name: Authenticate to local registry + run: npm config set //localhost:4873/:_authToken dummy-token + - name: Publish to local registry run: pnpm run registry:publish:only @@ -96,6 +99,9 @@ jobs: - name: Wait for Verdaccio run: npx wait-on http://localhost:4873 --timeout 30000 + - name: Authenticate to local registry + run: npm config set //localhost:4873/:_authToken dummy-token + - name: Publish to local registry run: pnpm run registry:publish:only