Skip to content

Commit ec53afb

Browse files
fix: [ci-fix] revert supabase/setup-cli to v1 — v2 returns 404 on CLI download
supabase/setup-cli@v2's bun-based download logic gets HTTP 404 when fetching the CLI binary. Revert to v1 with FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 until the v2 action is fixed upstream. Co-authored-by: Ona <no-reply@ona.com>
1 parent bceab87 commit ec53afb

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/deploy-migrations.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
branches: [main]
88
workflow_dispatch:
99

10+
env:
11+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
12+
1013
jobs:
1114
# ---------------------------------------------------------------------------
1215
# PR check: reset staging DB then push migrations for real execution
@@ -39,7 +42,8 @@ jobs:
3942
- uses: actions/checkout@v6
4043
if: steps.check-secrets.outputs.skip == 'false'
4144

42-
- uses: supabase/setup-cli@v2
45+
# supabase/setup-cli@v1 still targets node20; keep FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 until they ship a node24 version
46+
- uses: supabase/setup-cli@v1
4347
if: steps.check-secrets.outputs.skip == 'false'
4448
with:
4549
version: latest
@@ -71,7 +75,8 @@ jobs:
7175
steps:
7276
- uses: actions/checkout@v6
7377

74-
- uses: supabase/setup-cli@v2
78+
# supabase/setup-cli@v1 still targets node20; keep FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 until they ship a node24 version
79+
- uses: supabase/setup-cli@v1
7580
with:
7681
version: latest
7782

0 commit comments

Comments
 (0)