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:
parent
4de2d6979a
commit
523492324e
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -6,6 +6,9 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
|
env:
|
||||||
|
BUN_CONFIG_REGISTRY: https://registry.npmjs.org/
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user