From 69d4296def8937a090efcab71e173b88b2e3e2f2 Mon Sep 17 00:00:00 2001 From: James Feng <47167674+GhostDragon124@users.noreply.github.com> Date: Wed, 3 Jun 2026 12:22:49 +0800 Subject: [PATCH] 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. --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e4ac58160..7b27138a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,9 @@ jobs: with: bun-version: latest + - name: Replace mirror URLs + run: sed -i '' 's|registry.npmmirror.com|registry.npmjs.org|g' bun.lock + - name: Install dependencies run: bun install --frozen-lockfile