diff options
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index a3e4f0c46..ad9dd6d69 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -22,8 +22,8 @@ module.exports = function( grunt ) { var fs = require( "fs" ), gzip = require( "gzip-js" ), oldNode = /^v10\./.test( process.version ), - isTravis = process.env.TRAVIS, - travisBrowsers = process.env.BROWSERS && process.env.BROWSERS.split( "," ); + isCi = process.env.TRAVIS || process.env.GITHUB_ACTION, + ciBrowsers = process.env.BROWSERS && process.env.BROWSERS.split( "," ); if ( !grunt.option( "filename" ) ) { grunt.option( "filename", "jquery.js" ); @@ -241,10 +241,10 @@ module.exports = function( grunt ) { singleRun: true }, main: { - browsers: isTravis && travisBrowsers || [ "ChromeHeadless", "FirefoxHeadless" ] + browsers: isCi && ciBrowsers || [ "ChromeHeadless", "FirefoxHeadless" ] }, esmodules: { - browsers: isTravis && travisBrowsers || [ "ChromeHeadless" ], + browsers: isCi && ciBrowsers || [ "ChromeHeadless" ], options: { client: { qunit: { @@ -259,7 +259,7 @@ module.exports = function( grunt ) { } }, amd: { - browsers: isTravis && travisBrowsers || [ "ChromeHeadless" ], + browsers: isCi && ciBrowsers || [ "ChromeHeadless" ], options: { client: { qunit: { |