Skip to content

Merge branch 'main' of https://github.com/d-oit/d-oit.github.io #221

Merge branch 'main' of https://github.com/d-oit/d-oit.github.io

Merge branch 'main' of https://github.com/d-oit/d-oit.github.io #221

Workflow file for this run

name: 🧪 Playwright End To End (e2e) Tests Workflow
on:
# Runs on pushes targeting the default branch
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
tests_e2e:
name: Run end-to-end tests for live website
runs-on: ubuntu-latest
env:
BASE_URL_TESTING: ${{ vars.BASE_URL_TESTING }}
REUSE_SERVER: 'true'
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v3
with:
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Install playwright browsers
run: pnpm exec playwright install --with-deps
- name: Run tests
run: pnpm exec playwright test