Skip to content

Commit 7511d08

Browse files
committed
build: use minimatch@3.0.4 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-
npm-i: mocha@3.5.3 supertest@2.0.0
34+
npm-i: minimatch@3.0.4 mocha@3.5.3 supertest@2.0.0
3535

3636
- name: Node.js 0.12
3737
node-version: "0.12"
38-
npm-i: mocha@3.5.3 supertest@2.0.0
38+
npm-i: minimatch@3.0.4 mocha@3.5.3 supertest@2.0.0
3939

4040
- name: io.js 1.x
4141
node-version: "1.8"
42-
npm-i: mocha@3.5.3 supertest@2.0.0
42+
npm-i: minimatch@3.0.4 mocha@3.5.3 supertest@2.0.0
4343

4444
- name: io.js 2.x
4545
node-version: "2.5"
46-
npm-i: mocha@3.5.3 supertest@2.0.0
46+
npm-i: minimatch@3.0.4 mocha@3.5.3 supertest@2.0.0
4747

4848
- name: io.js 3.x
4949
node-version: "3.3"
50-
npm-i: mocha@3.5.3 supertest@2.0.0
50+
npm-i: minimatch@3.0.4 mocha@3.5.3 supertest@2.0.0
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 minimatch@3.0.4
43+
}
3944
- ps: |
4045
# mocha for testing
4146
# - use 3.x for Node.js < 4

0 commit comments

Comments
 (0)