Update CI "Upload strategies" page to mention new advanced upload options #340
Workflow file for this run
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
name: Playwright Tests | |
on: [pull_request] | |
jobs: | |
wait-for-vercel: | |
name: Wait for vercel | |
runs-on: ubuntu-latest | |
steps: | |
- name: Wait for Vercel preview deployment to be ready | |
uses: patrickedqvist/[email protected] | |
id: wait | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
max_timeout: 120 | |
outputs: | |
preview_url: ${{ steps.wait.outputs.url }} | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
needs: [wait-for-vercel] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 8 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Install dependencies | |
run: pnpm i | |
- name: Install Replay Chromium | |
run: pnpx replayio install | |
- name: Run Playwright tests | |
run: pnpm test | |
env: | |
BASE_URL: ${{ needs.wait-for-vercel.outputs.preview_url }} | |
REPLAY_API_KEY: ${{ secrets.REPLAY_API_KEY }} |