Skip to content

Commit 7511d08

Browse files
committed
build: use [email protected] for Node.js < 4
1 parent 2585f20 commit 7511d08

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/workflows/ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,23 @@ jobs:
3131
include:
3232
- name: Node.js 0.10
3333
node-version: "0.10"
34-
34+
3535

3636
- name: Node.js 0.12
3737
node-version: "0.12"
38-
38+
3939

4040
- name: io.js 1.x
4141
node-version: "1.8"
42-
42+
4343

4444
- name: io.js 2.x
4545
node-version: "2.5"
46-
46+
4747

4848
- name: io.js 3.x
4949
node-version: "3.3"
50-
50+
5151

5252
- name: Node.js 4.x
5353
node-version: "4.9"

appveyor.yml

+5
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ install:
3636
sls "^eslint(-|$)" | `
3737
%{ npm rm --silent --save-dev $_ }
3838
# Setup Node.js version-specific dependencies
39+
- ps: |
40+
# minimatch for Node.js < 4
41+
if ([int]$env:nodejs_version.split(".")[0] -lt 4) {
42+
npm install --silent --save-dev [email protected]
43+
}
3944
- ps: |
4045
# mocha for testing
4146
# - use 3.x for Node.js < 4

0 commit comments

Comments
 (0)