aboutsummaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorygj6 <7699524+ygj6@users.noreply.github.com>2021-12-01 06:56:39 +0800
committerGitHub <noreply@github.com>2021-11-30 23:56:39 +0100
commite23190e63cb121da79b92e6641a81a44dcea9252 (patch)
tree685b5265a40880508bcac448b65cc7e7af7bdcc3 /Gruntfile.js
parent9bdb16cd19097da67950a707baac3980bda873f3 (diff)
downloadjquery-e23190e63cb121da79b92e6641a81a44dcea9252.tar.gz
jquery-e23190e63cb121da79b92e6641a81a44dcea9252.zip
Build: Migrate CI to GitHub Actions
Closes gh-4800
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js10
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: {