mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +03:00
Set a default environment for browser tests
no issue
This commit is contained in:
parent
00d223991d
commit
74d0fee125
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 New Issue
Block a user