-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run ui-app E2E tests upon deployment
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |