From b21a5a0c3cfd97dbde97a643bca6cd8ab6634b76 Mon Sep 17 00:00:00 2001 From: mkorwel Date: Wed, 22 Oct 2025 01:00:39 -0700 Subject: [PATCH] debug(ci): Add .npmrc debug step after prepare-github-release Adds a debug step to the 'build-and-publish.yml' workflow to print the contents of the .npmrc file immediately after the 'prepare-github-release.js' script runs. This will help determine if the 'prepare-github-release.js' script is inadvertently modifying or overwriting the .npmrc file, which could be causing the 'ENEEDAUTH' error during the publish step. --- .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 34afb56623..eca734c2fb 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -44,6 +44,14 @@ jobs: - name: 'Prepare for GitHub release' run: 'node scripts/prepare-github-release.js' + - name: 'Debug .npmrc after prepare-github-release' + run: | + echo "--- Listing files in current directory after prepare-github-release ---" + ls -la + echo "--- Contents of .npmrc after prepare-github-release ---" + cat .npmrc + echo "---------------------------------------------------------" + - name: 'Set CI Version' id: 'version' run: |