From 2f179d18865a955b33bf970fb0d33f3c35506051 Mon Sep 17 00:00:00 2001 From: mkorwel Date: Wed, 22 Oct 2025 00:57:17 -0700 Subject: [PATCH] debug(ci): Add .npmrc debug step to build workflow Adds a debug step to the 'build-and-publish.yml' workflow to print the contents of the .npmrc file immediately before the 'npm publish' step. This will help diagnose the 'ENEEDAUTH' error by showing the exact state of the npm configuration at the time of failure. --- .github/workflows/build-and-publish.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index f87650f0fe..34afb56623 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -52,6 +52,14 @@ jobs: echo "version=${NEW_VERSION}" >> "$GITHUB_OUTPUT" npm version --no-git-tag-version "${NEW_VERSION}" + - name: 'Debug .npmrc' + run: | + echo "--- Listing files in current directory ---" + ls -la + echo "--- Contents of .npmrc ---" + cat .npmrc + echo "---------------------------" + - name: 'Publish to GitHub Packages' run: | if [[ "${{ github.event_name }}" == "pull_request" ]]; then