chore(ci): e2e against vercel deployement (#518)

This commit is contained in:
Corentin THOMASSET 2023-06-29 20:27:35 +02:00 committed by GitHub
parent d12dd40841
commit 2e28c5073e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 42 deletions

View file

@ -1,13 +1,13 @@
name: E2E tests
on:
pull_request:
push:
branches:
- main
on: [deployment_status]
jobs:
test:
if: github.event.deployment_status.state == 'success'
timeout-minutes: 60
runs-on: ubuntu-latest
env:
BASE_URL: ${{ github.event.deployment_status.target_url }}
strategy:
matrix:
shard: [1/3, 2/3, 3/3]
@ -28,9 +28,6 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Build app
run: pnpm build
- name: Restore Playwright browsers from cache
uses: actions/cache@v3
with: