mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-13 21:07:00 -07:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user