diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 36432e41..48d39bf8 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18.18.0, 18.x, 20.9.0, 20.x, 22.0.0, 22.x] + node-version: [18.18.0, 18.x, 20.9.0, 20.x, 22.0.0, 22.x, 23.1.0, 23.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - name: Get yarn cache dir @@ -34,7 +34,7 @@ jobs: path: ${{ steps.yarnCache.outputs.dir }} key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }} - name: Install dependencies - run: yarn install + run: yarn install --ignore-engines - name: Lint run: yarn lint - name: Unit test diff --git a/package.json b/package.json index 5bfc3b6a..e4dab054 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "*.md" ], "engines": { - "node": "^18.18.0 || ^20.9.0 || ^22.0.0" + "node": "^18.18.0 || ^20.9.0 || ^22.0.0 || ^23.0.0" }, "author": { "name": "Anna Bocharova", @@ -42,7 +42,7 @@ "posttest": "make-coverage-badge --output-path coverage.svg", "test:cjs": "yarn --cwd tests/cjs && vitest run -r tests/cjs", "test:esm": "yarn --cwd tests/esm && vitest run -r tests/esm", - "test:compat": "yarn --cwd tests/compat && vitest run -r tests/compat", + "test:compat": "yarn --cwd tests/compat --ignore-engines && vitest run -r tests/compat", "test:952": "yarn --cwd tests/issue952 && yarn --cwd tests/issue952 test", "test:system": "yarn --cwd tests/system && vitest run -r tests/system", "mdfix": "prettier *.md --write",