From 5e96d818a8b1c5c7af1d5e2c42a7289ac4ff6627 Mon Sep 17 00:00:00 2001 From: Matt Hadden Date: Sat, 21 Oct 2023 13:52:38 -0400 Subject: [PATCH] chore(ci): fix workflow 3 --- .github/workflows/main.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 24d815e6..d4ac113a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,9 +27,6 @@ concurrency: cancel-in-progress: true jobs: - strategy: - matrix: - node: [16.x, 18.x, 21.x] install-cache: name: "Generate Cache" runs-on: ubuntu-latest @@ -38,8 +35,6 @@ jobs: uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node }} uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node }} - name: Cache yarn dependencies uses: actions/cache@v3 id: cache-dependencies @@ -56,6 +51,9 @@ jobs: unit-test: name: "Unit Testing" runs-on: ubuntu-latest + strategy: + matrix: + node: [16.x, 18.x, 21.x] needs: install-cache steps: - name: Checkout Commit @@ -79,6 +77,9 @@ jobs: build: name: "Production Build" runs-on: ubuntu-latest + strategy: + matrix: + node: [16.x, 18.x, 21.x] needs: unit-test steps: - name: Checkout Commit