Commit 7e60d0a
fix(ci): use public npm registry URL in yarn.lock for widget-sdk 3.18.0
Root cause: my local ~/.npmrc has @Staffbase:registry=https://npm.pkg.github.com,
so when I ran 'yarn install' locally it resolved widget-sdk via GitHub Packages
and hardcoded 'npm.pkg.github.com/download/...' as the resolved URL in yarn.lock.
CI then tried to download from that URL and got 401 — Yarn classic does not
expand the ${NODE_AUTH_TOKEN} placeholder that setup-node writes.
widget-sdk@3.18.0 IS published to the public npm registry (npmjs.org) with an
identical tarball (same shasum/integrity). The yarn.lock entry is updated to use
'registry.yarnpkg.com/@staffbase/widget-sdk/-/widget-sdk-3.18.0.tgz' —
the same URL format as 3.17.0 on main — which requires no auth in CI.
Also revert the unnecessary ci.yaml comment/sed workaround added during
debugging, restoring it to the same state as main.
Co-authored-by: GitHub Copilot <copilot@noreply.github.com>1 parent ff2e525 commit 7e60d0a
1 file changed
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 28 | + | |
35 | 29 | | |
36 | 30 | | |
37 | 31 | | |
| |||
0 commit comments