Skip to content

Commit 34711c6

Browse files
committed
fix(ci): disable Corepack network access in workflows
- Add COREPACK_ENABLE_NETWORK: 0 to all workflow jobs - Prevents network access during package manager operations Fixes build issues with Corepack network access in CI. refs #17
1 parent 3520daa commit 34711c6

5 files changed

Lines changed: 949 additions & 0 deletions

File tree

.github/workflows/canary.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
publish-canary:
2424
if: github.repository == 'JeremyDev87/codingbuddy'
2525
runs-on: ubuntu-latest
26+
env:
27+
COREPACK_ENABLE_NETWORK: 0
2628
defaults:
2729
run:
2830
working-directory: mcp-server

.github/workflows/dev.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
publish-dev:
2424
if: github.repository == 'JeremyDev87/codingbuddy'
2525
runs-on: ubuntu-latest
26+
env:
27+
COREPACK_ENABLE_NETWORK: 0
2628
defaults:
2729
run:
2830
working-directory: mcp-server

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ defaults:
1414
jobs:
1515
publish:
1616
runs-on: ubuntu-latest
17+
env:
18+
COREPACK_ENABLE_NETWORK: 0
1719
steps:
1820
- name: Checkout code
1921
uses: actions/checkout@v4

.yarn/releases/yarn-4.11.0.cjs

Lines changed: 942 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
yarnPath: .yarn/releases/yarn-4.11.0.cjs

0 commit comments

Comments
 (0)