Add E2E testing #6
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: E2E Testing | |
on: | |
pull_request: | |
jobs: | |
test: | |
name: E2E Testing | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install dependencies | |
run: | | |
npm ci | |
sudo apt-get install xvfb mesa-utils | |
- name: Build for testing | |
run: npm run build | |
- name: Run E2E on chrome | |
run: xvfb-run --auto-servernum npm run test:e2e:chrome |