diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bb5cced..1643f74 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,4 +28,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm install - - run: npm run test + - run: npm run test-without-lint + - name: run lint (node >= 6) + run: npm run lint + if: matrix.node-version >= 6 diff --git a/package.json b/package.json index 01bcbd8..cebcefb 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "scripts": { "posttest": "npm run lint", "test": "mocha", + "test-without-lint": "mocha", "lint": "eslint .", "changelog": "shelljs-changelog", "release:major": "shelljs-release major",