@@ -54,37 +54,31 @@ jobs:
5454 run : npm test
5555 - name : Type Test
5656 run : npm run test:type
57- # test-for-eslint-v10:
58- # runs-on: ubuntu-latest
59- # strategy:
60- # matrix:
61- # node-version: [20.x, 22.x, 24.x]
62- # steps:
63- # - uses: actions/checkout@v6
64- # - name: Use Node.js ${{ matrix.node-version }}
65- # uses: actions/setup-node@v6
66- # with:
67- # node-version: ${{ matrix.node-version }}
68- # - name: Install eslint v10
69- # run: |+
70- # npm i -D eslint@10 -f
71- # npx rimraf node_modules
72- # - name: Install Packages
73- # run: npm install -f
74- # - name: Test
75- # run: npm test
76- # - name: Type Test
77- # run: npm run test:type
57+ test-for-eslint-v10 :
58+ runs-on : ubuntu-latest
59+ strategy :
60+ matrix :
61+ node-version : [20.x, 22.x, 24.x]
62+ steps :
63+ - uses : actions/checkout@v6
64+ - name : Use Node.js ${{ matrix.node-version }}
65+ uses : actions/setup-node@v6
66+ with :
67+ node-version : ${{ matrix.node-version }}
68+ - name : Install eslint v10
69+ run : npm pkg set devDependencies.eslint=^10
70+ - name : Install Packages
71+ run : npm install -f
72+ - name : Test
73+ run : npm test
7874 test-for-eslint-v8 :
7975 runs-on : ubuntu-latest
8076 steps :
8177 - uses : actions/checkout@v6
8278 - name : Use Node.js ${{ matrix.node-version }}
8379 uses : actions/setup-node@v6
8480 - name : Install eslint v8.57.0
85- run : |+
86- npm i -D eslint@^8.57.0 -f
87- npx rimraf node_modules
81+ run : npm pkg set devDependencies.eslint=^8.57.0
8882 - name : Install Packages
8983 run : npm install -f
9084 - name : Test
0 commit comments