fix(ci): override npm registry to npmjs.org for macOS runner

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.
This commit is contained in:
James Feng 2026-06-03 12:19:57 +08:00
parent 4de2d6979a
commit 523492324e

View File

@ -6,6 +6,9 @@ on:
pull_request:
branches: [main]
env:
BUN_CONFIG_REGISTRY: https://registry.npmjs.org/
jobs:
ci:
runs-on: macos-latest