Skip to content

Commit

Permalink
Breaking: drop node v10/13/v15 (fixes #501) (#502)
Browse files Browse the repository at this point in the history
* Breaking: drop node v10/13/v15 (fixes #501)

* Update ci.yml
  • Loading branch information
aladdin-add committed Jun 11, 2021
1 parent e71162c commit d017d38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/ci.yml
Expand Up @@ -27,7 +27,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [16.x, 15.x, 14.x, 13.x, 12.x]
node: [16.x, 14.x, 12.x, "12.22.0"]
include:
- os: windows-latest
node: "12.x"
Expand All @@ -45,21 +45,3 @@ jobs:
run: npm run build
- name: Run tests
run: npm run unit
testNode10:
name: Test Node 10.x
strategy:
matrix:
os: [ubuntu-latest]
node: [10.x, "10.12.0"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: npm install
- name: Build commonjs
run: npm run build
- name: Run tests
run: npm run unit:cjs
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -23,7 +23,7 @@
"espree.js"
],
"engines": {
"node": "^10.12.0 || >=12.0.0"
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
},
"repository": "eslint/espree",
"bugs": {
Expand Down

0 comments on commit d017d38

Please sign in to comment.