Skip to content

Commit

Permalink
FEAT/set base url in github action
Browse files Browse the repository at this point in the history
  • Loading branch information
AugustinSorel committed Jan 14, 2024
1 parent 7fc4e75 commit 17b56c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
name: Playwright Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
deployment_status:
jobs:
test:
timeout-minutes: 60
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -19,6 +17,8 @@ jobs:
run: pnpm exec playwright install --with-deps
- name: Run Playwright tests
run: pnpm exec playwright test
env:
BASE_URL: ${{ github.event.deployment_status.environment_url }}
- uses: actions/upload-artifact@v3
if: always()
with:
Expand Down

0 comments on commit 17b56c2

Please sign in to comment.