diff --git a/.github/workflows/build-submit-android.yml b/.github/workflows/build-submit-android.yml index a0c701b7ee..050dad3443 100644 --- a/.github/workflows/build-submit-android.yml +++ b/.github/workflows/build-submit-android.yml @@ -32,6 +32,9 @@ jobs: with: fetch-depth: 5 + - name: 📦 Enable Corepack + run: corepack enable + - name: 🔧 Setup Node uses: actions/setup-node@v6 with: @@ -56,9 +59,6 @@ jobs: distribution: "temurin" java-version: "17" - - name: 📦 Enable Corepack - run: corepack enable - - name: ⚙️ Install dependencies run: yarn install --immutable diff --git a/.github/workflows/build-submit-ios.yml b/.github/workflows/build-submit-ios.yml index c111df1a00..44bad573c6 100644 --- a/.github/workflows/build-submit-ios.yml +++ b/.github/workflows/build-submit-ios.yml @@ -32,6 +32,9 @@ jobs: with: fetch-depth: 5 + - name: 📦 Enable Corepack + run: corepack enable + - name: 🔧 Setup Node uses: actions/setup-node@v6 with: @@ -51,9 +54,6 @@ jobs: - name: ⛏️ Setup EAS local builds run: npx eas-cli-local-build-plugin@latest - - name: 📦 Enable Corepack - run: corepack enable - - name: ⚙️ Install dependencies run: yarn install --immutable diff --git a/.github/workflows/bundle-deploy-eas-update.yml b/.github/workflows/bundle-deploy-eas-update.yml index b44ec292ca..455c570e41 100644 --- a/.github/workflows/bundle-deploy-eas-update.yml +++ b/.github/workflows/bundle-deploy-eas-update.yml @@ -56,6 +56,9 @@ jobs: if: ${{ github.ref != 'refs/heads/main' }} run: git fetch origin main:main --depth 100 + - name: 📦 Enable Corepack + run: corepack enable + - name: 🔧 Setup Node uses: actions/setup-node@v6 with: @@ -176,6 +179,9 @@ jobs: with: fetch-depth: 5 + - name: 📦 Enable Corepack + run: corepack enable + - name: 🔧 Setup Node uses: actions/setup-node@v6 with: @@ -192,9 +198,6 @@ jobs: - name: ⛏️ Setup EAS local builds run: npx eas-cli-local-build-plugin@latest - - name: 📦 Enable Corepack - run: corepack enable - - name: ⚙️ Install dependencies run: yarn install --immutable @@ -285,6 +288,9 @@ jobs: with: fetch-depth: 5 + - name: 📦 Enable Corepack + run: corepack enable + - name: 🔧 Setup Node uses: actions/setup-node@v6 with: @@ -306,9 +312,6 @@ jobs: distribution: "temurin" java-version: "17" - - name: 📦 Enable Corepack - run: corepack enable - - name: ⚙️ Install dependencies run: yarn install --immutable diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index def26159c4..ed53616fc0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,13 +16,13 @@ jobs: steps: - name: Check out Git repository uses: actions/checkout@v4 + - name: 📦 Enable Corepack + run: corepack enable - name: Install node uses: actions/setup-node@v6 with: node-version-file: .nvmrc cache: yarn - - name: 📦 Enable Corepack - run: corepack enable - name: Yarn install uses: Wandalen/wretry.action@master with: @@ -45,13 +45,13 @@ jobs: steps: - name: Check out Git repository uses: actions/checkout@v4 + - name: 📦 Enable Corepack + run: corepack enable - name: Install node uses: actions/setup-node@v6 with: node-version-file: .nvmrc cache: yarn - - name: 📦 Enable Corepack - run: corepack enable - name: Yarn install uses: Wandalen/wretry.action@master with: diff --git a/.github/workflows/pull-request-comment.yml b/.github/workflows/pull-request-comment.yml index 5668854f0a..086af21414 100644 --- a/.github/workflows/pull-request-comment.yml +++ b/.github/workflows/pull-request-comment.yml @@ -117,6 +117,9 @@ jobs: with: ref: ${{ steps.pr-info.outputs.head-sha }} + - name: 📦 Enable Corepack + run: corepack enable + - name: 🔧 Setup Node uses: actions/setup-node@v6 with: @@ -124,7 +127,7 @@ jobs: cache: yarn - name: Install dependencies - run: yarn install --frozen-lockfile + run: yarn install --immutable - name: Lint check run: yarn lint @@ -149,7 +152,7 @@ jobs: token: ${{ secrets.EXPO_TOKEN }} - name: ⛏️ Setup Expo - run: yarn global add eas-cli-local-build-plugin + run: npx eas-cli-local-build-plugin@latest - name: 🪛 Setup jq uses: dcarbone/install-jq-action@v2 diff --git a/.github/workflows/pull-request-commit.yml b/.github/workflows/pull-request-commit.yml index 2df6f2db57..ced78aa04e 100644 --- a/.github/workflows/pull-request-commit.yml +++ b/.github/workflows/pull-request-commit.yml @@ -28,15 +28,15 @@ jobs: with: fetch-depth: 0 + - name: 📦 Enable Corepack + run: corepack enable + - name: 🔧 Setup Node uses: actions/setup-node@v6 with: 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 }} @@ -124,6 +124,9 @@ jobs: run: git fetch origin main:main --depth 100 if: github.event_name == 'pull_request' + - name: 📦 Enable Corepack + run: corepack enable + - name: 🔧 Setup Node uses: actions/setup-node@v6 with: diff --git a/.github/workflows/verify-yarn-lock.yml b/.github/workflows/verify-yarn-lock.yml index 7cbb6b5416..2f55148784 100644 --- a/.github/workflows/verify-yarn-lock.yml +++ b/.github/workflows/verify-yarn-lock.yml @@ -21,14 +21,14 @@ jobs: BASE_REF: ${{ github.base_ref }} run: git fetch origin $BASE_REF --depth=1 + - name: 📦 Enable Corepack + run: corepack enable + - name: Install node uses: actions/setup-node@v6 with: node-version-file: .nvmrc - - name: 📦 Enable Corepack - run: corepack enable - - name: Reset yarn.lock to base env: BASE_REF: ${{ github.base_ref }}