diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05a512c..a501d58 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,7 +109,6 @@ jobs: - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 with: node-version: 24.x - registry-url: 'https://registry.npmjs.org' cache: 'npm' cache-dependency-path: package-lock.json - run: npm ci @@ -120,5 +119,14 @@ jobs: with: name: npm-package path: artifacts + - name: Show npm auth configuration + run: | + echo "registry: $(npm config get registry)" + echo "userconfig: ${NPM_CONFIG_USERCONFIG:-}" + if [ -n "${NPM_CONFIG_USERCONFIG:-}" ] && [ -f "$NPM_CONFIG_USERCONFIG" ]; then + sed 's/\(_authToken=\).*/\1/' "$NPM_CONFIG_USERCONFIG" + fi + echo "ACTIONS_ID_TOKEN_REQUEST_URL set: ${ACTIONS_ID_TOKEN_REQUEST_URL:+yes}" + echo "ACTIONS_ID_TOKEN_REQUEST_TOKEN set: ${ACTIONS_ID_TOKEN_REQUEST_TOKEN:+yes}" - name: Publish to npm (trusted publishing) run: npm publish ./artifacts/*.tgz --provenance