diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1643f74..194a18c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,14 +10,9 @@ jobs: fail-fast: false matrix: node-version: - - 4 - - 6 - - 8 - - 10 - - 12 - - 14 - - 16 - 18 + - 20 + - 22 os: - ubuntu-latest - macos-latest @@ -28,7 +23,4 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm install - - run: npm run test-without-lint - - name: run lint (node >= 6) - run: npm run lint - if: matrix.node-version >= 6 + - run: npm test diff --git a/package.json b/package.json index 59da150..63a9892 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,6 @@ "scripts": { "posttest": "npm run lint --silent", "test": "mocha", - "test-without-lint": "mocha", "lint": "eslint .", "changelog": "shelljs-changelog", "release:major": "shelljs-release major", @@ -29,15 +28,15 @@ "eslint-config-airbnb-base": "^13.1.0", "eslint-plugin-import": "^2.17.3", "mocha": "^5.2.0", - "shelljs": "^0.8.5", + "shelljs": "^0.9.1", "shelljs-changelog": "^0.2.6", "shelljs-release": "^0.5.2", "should": "^13.2.3" }, "peerDependencies": { - "shelljs": "^0.8.5" + "shelljs": "^0.9.1" }, "engines": { - "node": ">=4" + "node": ">=18" } }