From d0a1ef24cbf4b0d13406b4afd38b33c5555285db Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Tue, 7 Apr 2020 10:00:28 +0200 Subject: [PATCH] avoid running tests twice in ci --- gulpfile.js | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 039e0a93..03a1b4b0 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -125,6 +125,8 @@ gulp.task('test', gulp.series( gulp.task('default', gulp.series(gulp.parallel('js', 'css'), 'test')) +gulp.task('build', gulp.series(gulp.parallel('js', 'css')) + gulp.task('package', gulp.series('default', () => gulp.src([ diff --git a/package.json b/package.json index 3967a296..e4471b3d 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "scripts": { "test": "gulp test", "start": "gulp serve", - "build": "gulp" + "build": "gulp build" }, "author": { "name": "Hakim El Hattab",