Skip to content

Commit d9bd28f

Browse files
Fix: Remove registry-url from setup-node to resolve NODE_AUTH_TOKEN conflicts
- Removed registry-url parameter from setup-node action in ci.yml and release.yml - Registry configuration now handled exclusively by .npmrc file - Auth tokens configured via npm config commands with ECHO_LIBRARIES_ACCESS_KEY - Eliminates NODE_AUTH_TOKEN environment variable creation and logging - Fixes 403 Forbidden errors during npm ci with Echo registry - Maintains dual-registry support: Echo for dependencies, GitHub for publishing Changes: - .github/workflows/ci.yml: Removed registry-url from setup-node - .github/workflows/release.yml: Removed registry-url from setup-node This ensures proper authentication with Echo (npm.echohq.com) registry while avoiding conflicts with GitHub Actions' automatic NODE_AUTH_TOKEN creation. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent 4cb78fb commit d9bd28f

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jobs:
3434
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
3535
with:
3636
node-version: 22.11.0
37-
registry-url: https://npm.echohq.com/
3837
- name: Configure echohq auth (both hosts)
3938
env:
4039
ECHO_LIBRARIES_ACCESS_KEY: ${{ secrets.ECHO_LIBRARIES_ACCESS_KEY }}

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ jobs:
9999
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
100100
with:
101101
node-version: 22.11.0
102-
registry-url: https://npm.echohq.com/
103102

104103
# CONFIGURE ECHOHQ AUTH
105104
- name: Configure echohq auth (both hosts)

0 commit comments

Comments
 (0)