Skip to content

Commit 2740c12

Browse files
chore(deps): update typescript-eslint monorepo to v6 (major) (#171)
* chore(deps): update typescript-eslint monorepo to v6 * Update NodeCI.yml * Update NodeCI.yml --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Yosuke Ota <[email protected]>
1 parent 69cf9b2 commit 2740c12

File tree

2 files changed

+21
-6
lines changed

2 files changed

+21
-6
lines changed

.github/workflows/NodeCI.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v3
1414
- uses: actions/setup-node@v3
15-
with:
16-
node-version: 14
1715
- name: Install Packages
18-
run: npm install
16+
run: npm install -f
1917
- name: Lint
2018
run: npm run lint
2119
- name: Build
@@ -24,7 +22,23 @@ jobs:
2422
runs-on: ubuntu-latest
2523
strategy:
2624
matrix:
27-
node-version: [12.x, 14.x, 16.x]
25+
node-version: [16.x, 18.x, 20.x]
26+
steps:
27+
- uses: actions/checkout@v3
28+
- name: Use Node.js ${{ matrix.node-version }}
29+
uses: actions/setup-node@v3
30+
with:
31+
node-version: ${{ matrix.node-version }}
32+
- name: Install Target Packages
33+
run: |+
34+
npm install --legacy-peer-deps
35+
- name: Test
36+
run: npm test
37+
test-for-old-node:
38+
runs-on: ubuntu-latest
39+
strategy:
40+
matrix:
41+
node-version: [12.x, 14.x]
2842
steps:
2943
- uses: actions/checkout@v3
3044
- name: Use Node.js ${{ matrix.node-version }}
@@ -33,6 +47,7 @@ jobs:
3347
node-version: ${{ matrix.node-version }}
3448
- name: Install Target Packages
3549
run: |+
50+
npm install @typescript-eslint/parser@5 --legacy-peer-deps
3651
npm install --legacy-peer-deps
3752
- name: Test
3853
run: npm test

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
"@types/natural-compare": "^1.4.0",
6060
"@types/node": "^18.0.0",
6161
"@types/semver": "^7.3.1",
62-
"@typescript-eslint/eslint-plugin": "^5.0.0",
63-
"@typescript-eslint/parser": "^5.0.0",
62+
"@typescript-eslint/eslint-plugin": "^6.0.0",
63+
"@typescript-eslint/parser": "^6.0.0",
6464
"benchmark": "^2.1.4",
6565
"env-cmd": "^10.1.0",
6666
"eslint": "^8.0.0",

0 commit comments

Comments
 (0)