Irby/refactoring #2
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: "End-to-end Tests" | |
on: | |
pull_request: | |
paths: | |
- 'src/api/**' | |
- 'src/spa/**' | |
- 'e2e/**' | |
jobs: | |
e2e-test: | |
name: Test E2E | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ['16.10.0'] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Start Docker containers | |
working-directory: . | |
run: docker-compose --project-directory . -f env/local/docker-compose.local.yml -f env/e2e/docker-compose.e2e.yml up -d | |
- run: npm install | |
name: Install E2E dependencies | |
working-directory: ./e2e | |
- run: npx playwright test | |
name: Run E2E Tests | |
working-directory: ./e2e |