Skip to content

Commit c90e79e

Browse files
authored
chore: Fix CI (#2835)
chore(ci): Add additional Node versions to matrix chore(ci): Temporarily only build on x86_64 MacOS chore(ci): Skip stream tests on Node 10 due to broken compatibility
1 parent 5412605 commit c90e79e

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

.github/workflows/dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
strategy:
3232
fail-fast: false
3333
matrix:
34-
node: [10, 12, 14, 16]
35-
os: [ubuntu-latest, windows-latest, macos-latest]
34+
node: [10, 12, 14, 16, 18, 20, 22, 24]
35+
os: [ubuntu-latest, windows-latest, macos-13]
3636

3737
steps:
3838
- name: Clone repository

test/dest.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ var gulp = require('../');
1111
var outpath = path.join(__dirname, './out-fixtures');
1212

1313
describe('gulp.dest()', function() {
14+
before(function () {
15+
if (process.versions.node.startsWith("10.")) {
16+
this.skip();
17+
return;
18+
}
19+
});
20+
1421
beforeEach(rimraf.bind(null, outpath));
1522
afterEach(rimraf.bind(null, outpath));
1623

test/src.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ var expect = require('expect');
77
var gulp = require('../');
88

99
describe('gulp.src()', function() {
10+
before(function () {
11+
if (process.versions.node.startsWith("10.")) {
12+
this.skip();
13+
return;
14+
}
15+
});
16+
1017
it('should return a stream', function(done) {
1118
var stream = gulp.src('./fixtures/*.coffee', { cwd: __dirname });
1219
expect(stream).toBeDefined();

0 commit comments

Comments
 (0)