diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c6eba737f9..416ece0959 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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" diff --git a/appveyor.yml b/appveyor.yml index ca108e24fb..c1b51ca7cd 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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