From b8929253730e56b02383086d5dd0f2de66acbb1e Mon Sep 17 00:00:00 2001 From: Salah-Eddine Saakoun Date: Thu, 26 Feb 2026 18:04:13 +0100 Subject: [PATCH] fix(ci): remove matrix from prepare job to fix fromJson empty input The upgrade to action-checkout-and-setup@v3 skips checkout on cache hits, causing yarn workspaces list to produce empty output. Combined with the matrix race condition, this results in fromJson receiving an empty string. Fix by removing the unnecessary matrix and disabling caching on the prepare job. --- .github/workflows/lint-build-test.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint-build-test.yml b/.github/workflows/lint-build-test.yml index 12973a55a0b..5cc48657b79 100644 --- a/.github/workflows/lint-build-test.yml +++ b/.github/workflows/lint-build-test.yml @@ -7,9 +7,6 @@ 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: @@ -17,8 +14,8 @@ jobs: uses: MetaMask/action-checkout-and-setup@v3 with: is-high-risk-environment: false - cache-node-modules: true - node-version: ${{ matrix.node-version }} + cache-node-modules: false + node-version: 22.x - name: Fetch workspace package names id: workspace-package-names run: |