diff --git a/.github/workflows/node-aught.yml b/.github/workflows/node-aught.yml deleted file mode 100644 index 784a031..0000000 --- a/.github/workflows/node-aught.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: 'Tests: node.js < 10' - -on: [pull_request, push] - -jobs: - tests: - uses: ljharb/actions/.github/workflows/node.yml@main - with: - range: '>= 4 < 10' - type: minors - command: npm run tests-only - skip-ls-check: true - - node: - name: 'node < 10' - needs: [tests] - runs-on: ubuntu-latest - steps: - - run: 'echo tests completed' diff --git a/.github/workflows/node-tens.yml b/.github/workflows/node.yml similarity index 73% rename from .github/workflows/node-tens.yml rename to .github/workflows/node.yml index b49ceb1..b85269c 100644 --- a/.github/workflows/node-tens.yml +++ b/.github/workflows/node.yml @@ -1,4 +1,4 @@ -name: 'Tests: node.js >= 10' +name: 'Tests: node.js 18+' on: [pull_request, push] @@ -6,12 +6,12 @@ jobs: tests: uses: ljharb/actions/.github/workflows/node.yml@main with: - range: '>= 10' + range: '^18.18.0 || ^20.9.0 || >=21.1.0' type: minors command: npm run tests-only node: - name: 'node >= 10' + name: 'node 18+' needs: [tests] runs-on: ubuntu-latest steps: diff --git a/package.json b/package.json index f77b766..6ed3c13 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "safe-publish-latest": "^2.0.0" }, "engines": { - "node": ">=4.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "keywords": [ "jsx",