From a620ee1fb8af45d26f3c0b895a66cb0177d18588 Mon Sep 17 00:00:00 2001 From: Cedric van Putten Date: Mon, 13 Nov 2023 16:55:26 +0100 Subject: [PATCH] fix(ci): use `bun-version: latest` to avoid 400 responses (#25359) # Why This seems to be an issue introduced on Bun's backend, see oven-sh/setup-bun#37 for more info. # How - Workaround broken `1.x` selectors by using `latest` # Test Plan See CI passing # Checklist - [x] Documentation is up to date to reflect these changes (eg: https://docs.expo.dev and README.md). - [ ] Conforms with the [Documentation Writing Style Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md) - [ ] This diff will work correctly for `npx expo prebuild` & EAS Build (eg: updated a module plugin). --- .github/workflows/cli.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index 002f4ad23bc1ce..aaae1de629f618 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -53,7 +53,9 @@ jobs: - name: 🏗️ Setup Bun uses: oven-sh/setup-bun@v1 with: - bun-version: 1.x + # Version `1.x` fails due to https://github.com/oven-sh/setup-bun/issues/37 + # TODO(cedric): swap `latest` back once the issue is resolved + bun-version: latest - name: ♻️ Restore caches uses: ./.github/actions/expo-caches id: expo-caches