Skip to content

Commit

Permalink
Run ui-app E2E tests upon deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Tehnix committed Jan 10, 2024
1 parent e699cb4 commit 9c6f04c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/vercel-deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'Vercel: E2E'

on:
deployment_status:

jobs:
ui-app:
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success' && github.event.deployment_status.environment == 'Production – ui-app'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v1
- uses: oven-sh/setup-bun@v1

- name: Install dependencies and setup Playwright
run: just setup deployment

- name: End-to-end tests
working-directory: ./deployment
env:
UI_APP_E2E_URL: ${{ github.event.deployment_status.url }}
run: just e2e deployment ui-app

0 comments on commit 9c6f04c

Please sign in to comment.