Commit 3288b2c
Fix echo registry auth via .npmrc env var interpolation, restore registry-url
Root cause was npm config precedence: the project-level .npmrc (checked
into the repo) always overrides user-level config, so its literal blank
auth token lines were shadowing whatever the separate "npm config set"
step wrote at the user level - regardless of registry-url on setup-node.
- .npmrc now resolves tokens via ${ECHO_LIBRARIES_ACCESS_KEY} at read
time instead of committing blank placeholders, so the project-level
config itself carries valid auth.
- Restored registry-url on setup-node in ci.yml/release.yml (safe now
that .npmrc's interpolated values take precedence over it either way).
- Removed the now-redundant "Configure echohq auth" npm config set steps.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent d9bd28f commit 3288b2c
3 files changed
Lines changed: 4 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 37 | + | |
43 | 38 | | |
44 | 39 | | |
45 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
| 102 | + | |
110 | 103 | | |
111 | 104 | | |
112 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
0 commit comments