Skip to content

Run browser tests in a Docker container #2

Run browser tests in a Docker container

Run browser tests in a Docker container #2

name: Browser tests
on:
push:
branches: [ main ]
pull_request:
jobs:
browser-tests:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/[email protected]
- run: cp .env.development.prod .env
- run: docker compose run ui npm install
- run: docker compose --profile browser-tests up -d
- run: docker compose exec -it ui npm run test:e2e