Skip to content

Merge pull request #257 from spences10/renovate/svelte-5.x #725

Merge pull request #257 from spences10/renovate/svelte-5.x

Merge pull request #257 from spences10/renovate/svelte-5.x #725

Workflow file for this run

name: 'Tests: E2E'
on:
push:
branches: [main]
pull_request:
branches: [main]
types: [opened, synchronize]
jobs:
tests_e2e:
name: Run end-to-end tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
- uses: actions/cache@v4
with:
path: ~/.pnpm-store
# prettier-ignore
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: ${{ runner.os }}-pnpm-
- uses: pnpm/action-setup@v4.0.0
with:
version: '^8.0.0'
- name: Install dependencies
run: pnpm i
- name: Build svead package
run: pnpm run build
working-directory: packages/svead
- name: Install playwright browsers
run: npx playwright install --with-deps
working-directory: apps/web
- name: Test
run: pnpm run test
working-directory: apps/web
env:
PUBLIC_FATHOM_ID: ${{ secrets.PUBLIC_FATHOM_ID }}
PUBLIC_FATHOM_URL: ${{ secrets.PUBLIC_FATHOM_URL }}