Skip to content

Commit a676f6a

Browse files
authored
Merge pull request #33 from levelcodeai/fix/ci-skip-playwright-download
ci: skip the Playwright browser download in release builds
2 parents 2e1b857 + c3ea58e commit a676f6a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ jobs:
7373
# release days; GITHUB_TOKEN raises that to 5000/hr. Read-only default token — no extra perms needed.
7474
env:
7575
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
76+
# No LevelCode build runs Playwright browser tests, but an upstream extension (copilot) pulls in
77+
# playwright-core, whose postinstall downloads a Chromium from cdn.playwright.dev. That network hop
78+
# flaked the x64 build (getaddrinfo ENOTFOUND) while arm64 passed the SAME commit — so skip it and
79+
# the whole class of flake goes away. Same spirit as the GITHUB_TOKEN mitigation above.
80+
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "1"
7681
steps:
7782
- uses: actions/checkout@v4
7883
- uses: actions/setup-node@v4

0 commit comments

Comments
 (0)