Skip to content

Commit

Permalink
build: use minimatch@3.0.4 for Node.js < 4
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Feb 7, 2022
1 parent 2585f20 commit 7511d08
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,23 @@ jobs:
include:
- name: Node.js 0.10
node-version: "0.10"
npm-i: mocha@3.5.3 supertest@2.0.0
npm-i: minimatch@3.0.4 mocha@3.5.3 supertest@2.0.0

- name: Node.js 0.12
node-version: "0.12"
npm-i: mocha@3.5.3 supertest@2.0.0
npm-i: minimatch@3.0.4 mocha@3.5.3 supertest@2.0.0

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

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

- name: io.js 3.x
node-version: "3.3"
npm-i: mocha@3.5.3 supertest@2.0.0
npm-i: minimatch@3.0.4 mocha@3.5.3 supertest@2.0.0

- name: Node.js 4.x
node-version: "4.9"
Expand Down
5 changes: 5 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ install:
sls "^eslint(-|$)" | `
%{ npm rm --silent --save-dev $_ }
# Setup Node.js version-specific dependencies
- ps: |
# minimatch for Node.js < 4
if ([int]$env:nodejs_version.split(".")[0] -lt 4) {
npm install --silent --save-dev minimatch@3.0.4
}
- ps: |
# mocha for testing
# - use 3.x for Node.js < 4
Expand Down

0 comments on commit 7511d08

Please sign in to comment.