Skip to content

Commit

Permalink
Drop support for Node.js v8-10, v13 and v15
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Nov 6, 2021
1 parent f2332b0 commit 098b38a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 22 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/NodeCI.yml
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [12.x, 14.x, 16.x, 17.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -33,24 +33,6 @@ jobs:
run: npm install
- name: Test
run: npm test
test-for-node10-13:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.13.x, 13.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install Target Packages
run: |+
npm i -D eslint@7
npx rimraf node_modules
npm install
- name: Test
run: npm test
test-and-coverage:
runs-on: ubuntu-latest
steps:
Expand Down
9 changes: 6 additions & 3 deletions package.json
Expand Up @@ -6,6 +6,9 @@
"files": [
"lib"
],
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
},
"scripts": {
"prebuild": "npm run -s clean",
"build": "tsc --project ./tsconfig.build.json",
Expand Down Expand Up @@ -34,9 +37,9 @@
},
"homepage": "https://github.com/ota-meshi/yaml-eslint-parser#readme",
"dependencies": {
"eslint-visitor-keys": "^2.1.0",
"lodash": "^4.17.20",
"yaml": "^1.10.0"
"eslint-visitor-keys": "^3.0.0",
"lodash": "^4.17.21",
"yaml": "^1.10.2"
},
"devDependencies": {
"@ota-meshi/eslint-plugin": "^0.10.0",
Expand Down

0 comments on commit 098b38a

Please sign in to comment.