Skip to content

Commit

Permalink
💥 drop Node.js 6 support
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed Aug 30, 2019
1 parent ca01839 commit 4a8455f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,14 @@ jobs:
strategy:
matrix:
eslint: [6.x, 5.x, 4.x]
node: [12.x, 10.x, 8.x, 6.x]
node: [12.x, 10.x, 8.x]
exclude:
# ESLint 6.x requires Node 8 or upper.
- eslint: 6.x
node: 6.x
# Run ESLint 5.x only on Node 6 and the latest Node.
# Run ESLint 5.x only on the latest Node.
- eslint: 5.x
node: 8.x
- eslint: 5.x
node: 10.x
# Run ESLint 4.x only on Node 6 and the latest Node.
# Run ESLint 4.x only on the latest Node.
- eslint: 4.x
node: 8.x
- eslint: 4.x
Expand All @@ -53,10 +50,6 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
# Failed to install ESLint@4 only on npm@3.x
- name: Install npm v6
run: npm install --global npm@6.x
if: matrix.node == '6.x'
- name: Install Packages
run: npm install
- name: Install ESLint ${{ matrix.eslint }}
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ npm install --save-dev eslint eslint-plugin-es
```

::: tip Requirements
- Node.js `6.5.0` or newer.
- Node.js `8.10.0` or newer.
- ESLint `4.19.1` or newer.
:::

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.4.1",
"description": "ESLint plugin about ECMAScript syntactic features.",
"engines": {
"node": ">=6.5.0"
"node": ">=8.10.0"
},
"main": "lib/index.js",
"files": [
Expand Down

0 comments on commit 4a8455f

Please sign in to comment.