From 6d6f01a7e0efc935691a492ddd15898152457524 Mon Sep 17 00:00:00 2001 From: Blaine Bublitz Date: Sun, 1 Jun 2025 14:09:49 -0700 Subject: [PATCH 1/3] chore(ci): Add additional Node versions to matrix --- .github/workflows/dev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 3b07263a..44a132aa 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -31,7 +31,7 @@ jobs: strategy: fail-fast: false matrix: - node: [10, 12, 14, 16] + node: [10, 12, 14, 16, 18, 20, 22, 24] os: [ubuntu-latest, windows-latest, macos-latest] steps: From 439b981f26ff219e4e2944db79dbe4cdc1be24c8 Mon Sep 17 00:00:00 2001 From: Blaine Bublitz Date: Sun, 1 Jun 2025 14:10:06 -0700 Subject: [PATCH 2/3] chore(ci): Temporarily only build on x86_64 MacOS --- .github/workflows/dev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 44a132aa..4dfe1927 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -32,7 +32,7 @@ jobs: fail-fast: false matrix: node: [10, 12, 14, 16, 18, 20, 22, 24] - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-13] steps: - name: Clone repository From 44b0837cafaccc2d13bf2d0c8068150e37521eaf Mon Sep 17 00:00:00 2001 From: Blaine Bublitz Date: Sun, 1 Jun 2025 14:12:18 -0700 Subject: [PATCH 3/3] chore(ci): Skip stream tests on Node 10 due to broken compatibility --- test/dest.js | 7 +++++++ test/src.js | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/test/dest.js b/test/dest.js index 16c58d21..d3d2dfb0 100644 --- a/test/dest.js +++ b/test/dest.js @@ -11,6 +11,13 @@ var gulp = require('../'); var outpath = path.join(__dirname, './out-fixtures'); describe('gulp.dest()', function() { + before(function () { + if (process.versions.node.startsWith("10.")) { + this.skip(); + return; + } + }); + beforeEach(rimraf.bind(null, outpath)); afterEach(rimraf.bind(null, outpath)); diff --git a/test/src.js b/test/src.js index 82501e73..d2c81611 100644 --- a/test/src.js +++ b/test/src.js @@ -7,6 +7,13 @@ var expect = require('expect'); var gulp = require('../'); describe('gulp.src()', function() { + before(function () { + if (process.versions.node.startsWith("10.")) { + this.skip(); + return; + } + }); + it('should return a stream', function(done) { var stream = gulp.src('./fixtures/*.coffee', { cwd: __dirname }); expect(stream).toBeDefined();