Skip to content

Commit

Permalink
chore: skip lint on node v4
Browse files Browse the repository at this point in the history
The lint command appears to be broken on node v4. It should be fine to
skip this on v4 though since we can run lint on >= v6.

Fixes #11
  • Loading branch information
nfischer committed Dec 7, 2023
1 parent 71d1695 commit 29027f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"scripts": {
"posttest": "npm run lint --silent",
"test": "mocha",
"test-without-lint": "mocha",
"lint": "eslint .",
"changelog": "shelljs-changelog",
"release:major": "shelljs-release major",
Expand Down

0 comments on commit 29027f3

Please sign in to comment.