From 6831a46a8ced12f11af678ace6b2f8f619ee16db Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Wed, 4 Feb 2026 13:22:44 -0600 Subject: [PATCH] update CI --- .github/workflows/build-submit-android.yml | 7 +++++-- .github/workflows/build-submit-ios.yml | 7 +++++-- .github/workflows/bundle-deploy-eas-update.yml | 16 +++++++++++----- .github/workflows/lint.yml | 8 ++++++-- .github/workflows/pull-request-commit.yml | 3 +++ .github/workflows/verify-yarn-lock.yml | 5 ++++- .gitignore | 7 ++++++- 7 files changed, 40 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build-submit-android.yml b/.github/workflows/build-submit-android.yml index ac8900e665..a0c701b7ee 100644 --- a/.github/workflows/build-submit-android.yml +++ b/.github/workflows/build-submit-android.yml @@ -49,15 +49,18 @@ jobs: token: ${{ secrets.EXPO_TOKEN }} - name: ⛏️ Setup EAS local builds - run: yarn global add eas-cli-local-build-plugin + run: npx eas-cli-local-build-plugin@latest - uses: actions/setup-java@v4 with: distribution: "temurin" java-version: "17" + - name: 📦 Enable Corepack + run: corepack enable + - name: ⚙️ Install dependencies - run: yarn install --frozen-lockfile + run: yarn install --immutable - name: 🔤 Compile translations run: yarn intl:build 2>&1 | tee i18n.log diff --git a/.github/workflows/build-submit-ios.yml b/.github/workflows/build-submit-ios.yml index 2ebbd66ec9..c111df1a00 100644 --- a/.github/workflows/build-submit-ios.yml +++ b/.github/workflows/build-submit-ios.yml @@ -49,10 +49,13 @@ jobs: token: ${{ secrets.EXPO_TOKEN }} - name: ⛏️ Setup EAS local builds - run: yarn global add eas-cli-local-build-plugin + run: npx eas-cli-local-build-plugin@latest + + - name: 📦 Enable Corepack + run: corepack enable - name: ⚙️ Install dependencies - run: yarn install --frozen-lockfile + run: yarn install --immutable - uses: maxim-lobanov/setup-xcode@v1 with: diff --git a/.github/workflows/bundle-deploy-eas-update.yml b/.github/workflows/bundle-deploy-eas-update.yml index ee59cad977..b44ec292ca 100644 --- a/.github/workflows/bundle-deploy-eas-update.yml +++ b/.github/workflows/bundle-deploy-eas-update.yml @@ -97,7 +97,7 @@ jobs: - name: ⛏️ Setup Expo if: ${{ !steps.fingerprint.outputs.includes-changes }} - run: yarn global add eas-cli-local-build-plugin + run: npx eas-cli-local-build-plugin@latest - name: 🪛 Setup jq if: ${{ !steps.fingerprint.outputs.includes-changes }} @@ -190,10 +190,13 @@ jobs: token: ${{ secrets.EXPO_TOKEN }} - name: ⛏️ Setup EAS local builds - run: yarn global add eas-cli-local-build-plugin + run: npx eas-cli-local-build-plugin@latest + + - name: 📦 Enable Corepack + run: corepack enable - name: ⚙️ Install dependencies - run: yarn install --frozen-lockfile + run: yarn install --immutable - uses: maxim-lobanov/setup-xcode@v1 with: @@ -296,15 +299,18 @@ jobs: token: ${{ secrets.EXPO_TOKEN }} - name: ⛏️ Setup EAS local builds - run: yarn global add eas-cli-local-build-plugin + run: npx eas-cli-local-build-plugin@latest - uses: actions/setup-java@v4 with: distribution: "temurin" java-version: "17" + - name: 📦 Enable Corepack + run: corepack enable + - name: ⚙️ Install dependencies - run: yarn install --frozen-lockfile + run: yarn install --immutable - name: 🔤 Compile translations run: yarn intl:build diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6d6ee7eddd..3add03157d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -21,10 +21,12 @@ jobs: with: node-version-file: .nvmrc cache: yarn + - name: 📦 Enable Corepack + run: corepack enable - name: Yarn install uses: Wandalen/wretry.action@master with: - command: yarn --frozen-lockfile + command: yarn install --immutable attempt_limit: 3 attempt_delay: 2000 - name: Lint check @@ -48,10 +50,12 @@ jobs: with: node-version-file: .nvmrc cache: yarn + - name: 📦 Enable Corepack + run: corepack enable - name: Yarn install uses: Wandalen/wretry.action@master with: - command: yarn --frozen-lockfile + command: yarn install --immutable attempt_limit: 3 attempt_delay: 2000 - name: Check & compile i18n diff --git a/.github/workflows/pull-request-commit.yml b/.github/workflows/pull-request-commit.yml index cc2dbe78bd..93159a8e9a 100644 --- a/.github/workflows/pull-request-commit.yml +++ b/.github/workflows/pull-request-commit.yml @@ -34,6 +34,9 @@ jobs: node-version-file: .nvmrc cache: yarn + - name: 📦 Enable Corepack + run: corepack enable + - name: Ensure tracking relevant branches and checkout base env: HEAD_REF: ${{ github.head_ref }} diff --git a/.github/workflows/verify-yarn-lock.yml b/.github/workflows/verify-yarn-lock.yml index 6eadf7be76..34c284db5e 100644 --- a/.github/workflows/verify-yarn-lock.yml +++ b/.github/workflows/verify-yarn-lock.yml @@ -26,6 +26,9 @@ jobs: with: node-version-file: .nvmrc + - name: 📦 Enable Corepack + run: corepack enable + - name: Reset yarn.lock to base env: BASE_REF: ${{ github.base_ref }} @@ -35,7 +38,7 @@ jobs: uses: Wandalen/wretry.action@master with: # Fine to skip scripts since we don't run any code - command: yarn install --ignore-scripts + command: yarn install --skip-builds attempt_limit: 3 attempt_delay: 2000 diff --git a/.gitignore b/.gitignore index 0f954577fa..85bf6e8542 100644 --- a/.gitignore +++ b/.gitignore @@ -126,4 +126,9 @@ bskyweb/static/media/*.jpg bskyweb/static/media/*.png bskyweb/static/media/*.svg -.yarn +# Yarn Berry +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +.pnp.*