diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3afcedf..4c4a4f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,19 +13,23 @@ jobs: strategy: fail-fast: false matrix: - node-version: [^14.19, ^16.15, ^18, ^20] + node-version: [^14.19, ^16.15, ^18, ^20, ^22] os: [ubuntu-latest, windows-latest] steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} + - if: runner.os == 'Windows' && matrix.node-version == '^22' + shell: bash + run: | + npm install -g npm - name: Install npm@8 for Node.js 14 if: matrix.node-version == '^14.19' run: npm install --global npm@^8 - run: npm install --no-audit - run: npm test - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v4 with: files: coverage/lcov.info name: ${{ matrix.os }}/${{ matrix.node-version }} diff --git a/package.json b/package.json index 3160f9a..85c9a35 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "4.1.0", "description": "TypeScript provider for AVA", "engines": { - "node": "^14.19 || ^16.15 || ^18 || ^20" + "node": "^14.19 || ^16.15 || ^18 || ^20 || ^22" }, "files": [ "index.js"