forked from mysticatea/eslint-plugin-eslint-comments
-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: drop Node 6, 8 & 10 support (#16)
BREAKING CHANGE: Requires Node@^12.22.0 || ^14.17.0 || >=16.0.0
- Loading branch information
1 parent
a5ee7f1
commit 1d1284e
Showing
4 changed files
with
5 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ jobs: | |
strategy: | ||
matrix: | ||
eslint: [7] | ||
node: [10, 12.0.0, 12, 14.0.0, 14, 16.0.0, 16, 18.0.0, 18, 20] | ||
node: [12.22.0, 12, 14.17.0, 14, 16.0.0, 16, 18.0.0, 18, 20] | ||
os: [ubuntu-latest] | ||
include: | ||
# On other platforms | ||
|
@@ -63,16 +63,9 @@ jobs: | |
- eslint: 4 | ||
node: 18 | ||
os: ubuntu-latest | ||
# On old Node.js versions | ||
- eslint: 6 | ||
node: 8 | ||
os: ubuntu-latest | ||
- eslint: 5 | ||
node: 6 | ||
os: ubuntu-latest | ||
# On the minimum supported ESLint/Node.js version | ||
- eslint: 4.19.1 | ||
node: 6.5.0 | ||
node: 12.22.0 | ||
os: ubuntu-latest | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
|
@@ -84,31 +77,11 @@ jobs: | |
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
# - name: 📥 Install dependencies | ||
# run: npm install | ||
- name: 📥 Install Packages for Node v6 | ||
run: | | ||
sudo npm i [email protected] | ||
./node_modules/.bin/npm -v | ||
./node_modules/.bin/npm uninstall vuepress | ||
./node_modules/.bin/npm install | ||
if: ${{ matrix.node == '6.5.0' || matrix.node == '6' }} | ||
- name: 📥 Uninstall Packages for Node v8 | ||
run: | | ||
npm uninstall vuepress | ||
if: ${{ matrix.node == '8.O.O' || matrix.node == '8' }} | ||
- name: 📥 Install Packages | ||
- name: 📥 Install dependencies | ||
run: npm install --legacy-peer-deps | ||
if: ${{ matrix.node != '6.5.0' && matrix.node != '6' }} | ||
|
||
# - name: 📥 Install ESLint v${{ matrix.eslint }} | ||
# run: npm install --save-dev eslint@${{ matrix.eslint }} | ||
- name: 📥 Install ESLint v${{ matrix.eslint }} for Node v6 | ||
run: ./node_modules/.bin/npm install --save-dev eslint@${{ matrix.eslint }} | ||
if: ${{ matrix.node == '6.5.0' || matrix.node == '6' }} | ||
- name: 📥 Install ESLint v${{ matrix.eslint }} | ||
run: npm install --save-dev eslint@${{ matrix.eslint }} | ||
if: ${{ matrix.node != '6.5.0' && matrix.node != '6' }} | ||
|
||
- name: ▶️ Run test script | ||
run: npm run test | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.