Skip to content

Commit

Permalink
Breaking: drop node v10/v13/v15 (refs eslint/eslint#14023)
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Jun 25, 2021
1 parent 39f8cfc commit b9ba9cc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'
node-version: "14.x"
- name: Install dependencies
run: npm install
- name: Lint files
Expand All @@ -25,14 +25,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [14.x, 13.x, 12.x, 10.x, 8.x]
node: [16.x, 14.x, 12.x, "12.22.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: Run tests
run: npm test
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
3 changes: 3 additions & 0 deletions .npmrc
@@ -1 +1,4 @@
package-lock=false
# https://github.blog/2021-02-02-npm-7-is-now-generally-available/#peer-dependencies
# @typescript-eslint/parser@1.13.0 requires peer deps eslint@^5.0.0
legacy-peer-deps=true
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -5,7 +5,7 @@
"main": "lib/index.js",
"version": "5.1.1",
"engines": {
"node": ">=8.0.0"
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
},
"repository": "eslint/eslint-scope",
"bugs": {
Expand Down

0 comments on commit b9ba9cc

Please sign in to comment.