mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
Adding CI on Github Actions. (#3938)
This commit is contained in:
@@ -127,6 +127,9 @@ module.exports = function(config) {
|
||||
'Running on Travis.'
|
||||
);
|
||||
browsers = ['Firefox'];
|
||||
} else if (process.env.GITHUB_ACTIONS !== 'false') {
|
||||
console.log('Running ci on Github Actions.');
|
||||
browsers = ['FirefoxHeadless', 'ChromeHeadless'];
|
||||
} else {
|
||||
console.log('Running locally since SAUCE_USERNAME and SAUCE_ACCESS_KEY environment variables are not set.');
|
||||
browsers = ['Firefox', 'Chrome'];
|
||||
|
||||
Reference in New Issue
Block a user