fix(ci): replace npmmirror URLs in lockfile before install
--frozen-lockfile uses exact URLs from lockfile; BUN_CONFIG_REGISTRY only affects new resolution. Replace mirror URLs in-place before install so macOS CI runner can download packages from npmjs.org.
This commit is contained in:
parent
523492324e
commit
69d4296def
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -20,6 +20,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
bun-version: latest
|
bun-version: latest
|
||||||
|
|
||||||
|
- name: Replace mirror URLs
|
||||||
|
run: sed -i '' 's|registry.npmmirror.com|registry.npmjs.org|g' bun.lock
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bun install --frozen-lockfile
|
run: bun install --frozen-lockfile
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user