From 523492324e8904967219a946987e482ec4d0cee6 Mon Sep 17 00:00:00 2001 From: James Feng <47167674+GhostDragon124@users.noreply.github.com> Date: Wed, 3 Jun 2026 12:19:57 +0800 Subject: [PATCH] fix(ci): override npm registry to npmjs.org for macOS runner MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CI runner cannot access npmmirror.com (Chinese mirror) baked into bun.lock. Set BUN_CONFIG_REGISTRY=https://registry.npmjs.org/ at workflow level. Local dev remains unaffected — ~/.npmrc still uses npmmirror. --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c4b6334ce..e4ac58160 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,9 @@ on: pull_request: branches: [main] +env: + BUN_CONFIG_REGISTRY: https://registry.npmjs.org/ + jobs: ci: runs-on: macos-latest