From 43146358172a453e1f996fb70a18528cd4a38878 Mon Sep 17 00:00:00 2001 From: Salah-Eddine Saakoun Date: Thu, 26 Feb 2026 18:27:19 +0100 Subject: [PATCH] fix(ci): decouple prepare job from action-checkout-and-setup Replace the composite action with a plain checkout + corepack enable. The prepare job only lists workspace package names, so it doesn't need caching, yarn install, or multiple Node versions. This makes it faster, simpler, and resilient to upstream action changes. --- .github/workflows/lint-build-test.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/lint-build-test.yml b/.github/workflows/lint-build-test.yml index 12973a55a0b..6b0821fe7b9 100644 --- a/.github/workflows/lint-build-test.yml +++ b/.github/workflows/lint-build-test.yml @@ -7,18 +7,11 @@ jobs: prepare: name: Prepare runs-on: ubuntu-latest - strategy: - matrix: - node-version: [18.x, 20.x, 22.x] outputs: child-workspace-package-names: ${{ steps.workspace-package-names.outputs.child-workspace-package-names }} steps: - - name: Checkout and setup environment - uses: MetaMask/action-checkout-and-setup@v3 - with: - is-high-risk-environment: false - cache-node-modules: true - node-version: ${{ matrix.node-version }} + - uses: actions/checkout@v5 + - run: corepack enable - name: Fetch workspace package names id: workspace-package-names run: |