Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:-<none>}"
if [ -n "${NPM_CONFIG_USERCONFIG:-}" ] && [ -f "$NPM_CONFIG_USERCONFIG" ]; then
sed 's/\(_authToken=\).*/\1<redacted>/' "$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
Loading