Skip to content

Commit

Permalink
Attempt to repair BrowserStack PR build matching for Github Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjeffburke committed May 12, 2021
1 parent 5fd1b4d commit 0accdda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ module.exports = function (config) {
browserStack: {
video: false,
project:
process.env.TRAVIS_BRANCH === 'master' &&
!process.env.TRAVIS_PULL_REQUEST_BRANCH // Catch Travis "PR" builds
process.env.GITHUB_REF === 'refs/heads/master' &&
!process.env.GITHUB_HEAD_REF // Catch "PR" builds
? 'unexpected'
: 'unexpected-dev',
// Attempt to fix timeouts on CI:
Expand Down

0 comments on commit 0accdda

Please sign in to comment.