Skip to content

Commit 6a18d12

Browse files
committed
chore: skip lint on node v4
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
1 parent 78f85fb commit 6a18d12

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,7 @@ jobs:
2828
with:
2929
node-version: ${{ matrix.node-version }}
3030
- run: npm install
31-
- run: npm run test
31+
- run: npm run test-without-lint
32+
- name: run lint (node >= 6)
33+
run: npm run lint
34+
if: matrix.node-version >= 6

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"scripts": {
77
"posttest": "npm run lint --silent",
88
"test": "mocha",
9+
"test-without-lint": "mocha",
910
"lint": "eslint .",
1011
"changelog": "shelljs-changelog",
1112
"release:major": "shelljs-release major",

0 commit comments

Comments
 (0)