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.
This commit is contained in:
mkorwel
2025-10-22 01:00:39 -07:00
parent 2f179d1886
commit b21a5a0c3c
+8
View File
@@ -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: |