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