diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1047eab..dd00296 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,9 +14,10 @@ jobs: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: # Follow current releases https://github.com/nodejs/release#release-schedule - node-version: [18.x, 20.x, 21.x] + node-version: [18.x, 20.x, 21.x, 22.x] steps: - name: Checkout @@ -26,6 +27,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} + cache: 'npm' - name: Install dependencies run: npm ci @@ -37,7 +39,7 @@ jobs: run: npm run test - name: Upload Coverage - if: matrix.node-version == '21.x' + if: matrix.node-version == '22.x' uses: codecov/codecov-action@v3 with: # Comma-separated list of files to upload