Skip to content

Commit 0aa3a10

Browse files
committed
ci: install supported deno version to de-flake tests
When the globally installed deno cli isn't a supported version, the build automatically tries to install a local binary. Unfortunately when running multiple builds concurrently on the same machine with default configuration, there's a race condition where a binary tries to get written to the same path where one is currently running, leading to an OS error. Just install the correct version globally. See (internal link) https://netlify.slack.com/archives/C03ETTLQ9BP/p1761826639264259
1 parent 596e1d6 commit 0aa3a10

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: denoland/setup-deno@v1
2929
with:
3030
# Should match the `DENO_VERSION_RANGE` from https://github.com/netlify/edge-bundler/blob/main/node/bridge.ts#L17
31-
deno-version: v1.37.0
31+
deno-version: v2.2.4
3232
- run: pnpm install
3333

3434
- name: Install Playwright Browsers

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
uses: denoland/setup-deno@v1
3232
with:
3333
# Should satisfy the `DENO_VERSION_RANGE` from https://github.com/netlify/edge-bundler/blob/main/node/bridge.ts#L17
34-
deno-version: v1
34+
deno-version: v2.24
3535
if: ${{ steps.release.outputs.releases_created }}
3636
- run: corepack enable
3737
- name: Install dependencies

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: denoland/setup-deno@v1
2626
with:
2727
# Should satisfy the `DENO_VERSION_RANGE` from https://github.com/netlify/edge-bundler/blob/main/node/bridge.ts#L17
28-
deno-version: v1
28+
deno-version: v2.24
2929
- name: Install
3030
run: pnpm install
3131
- name: Build

0 commit comments

Comments
 (0)