mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Set a default environment for browser tests
no issue
This commit is contained in:
parent
00d223991d
commit
74d0fee125
1 changed files with 2 additions and 1 deletions
3
.github/workflows/browser-tests.yml
vendored
3
.github/workflows/browser-tests.yml
vendored
|
@ -27,6 +27,7 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))
|
||||
environment: ${{ github.event.inputs.environment || "browser-tests-local" }}
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ghost/core
|
||||
|
@ -52,7 +53,7 @@ jobs:
|
|||
run: npx playwright install --with-deps
|
||||
|
||||
- name: Build Admin
|
||||
if: github.event.inputs.site_url == ''
|
||||
if: github.event.inputs.environment == 'browser-tests-local'
|
||||
working-directory: ghost/admin
|
||||
run: yarn build:prod
|
||||
|
||||
|
|
Loading…
Reference in a new issue