2
0
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:
Kohta Ito
2021-08-13 21:27:17 +09:00
committed by GitHub
parent e9965bfafc
commit 4fbeecbcb2
2 changed files with 27 additions and 0 deletions
+3
View File
@@ -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'];