* Returns true if this is a push build. * @return {boolean}
()
| 75 | * @return {boolean} |
| 76 | */ |
| 77 | function isPushBuild() { |
| 78 | return isGithubActions |
| 79 | ? env('GITHUB_EVENT_NAME') === 'push' |
| 80 | : isCircleci |
| 81 | ? isCircleciPushBranch(env('CIRCLE_BRANCH')) |
| 82 | : false; |
| 83 | } |
| 84 | |
| 85 | /** |
| 86 | * Returns the name of the PR branch. |
no test coverage detected