Move images to assets #17
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: Testing | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test-e2e: | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: npm | |
node-version: 20 | |
- name: Install dependencies | |
run: npm ci | |
- name: Install Playwright Browsers | |
run: npx playwright install --with-deps | |
- name: Install xvfb and dependencies | |
run: sudo apt-get install -y xvfb libgl1-mesa-dri libgl1-mesa-glx | |
- name: Start xvfb | |
run: | | |
/usr/bin/Xvfb :99 -screen 0 1280x1024x24 & | |
export DISPLAY=:99 | |
- name: Run Playwright tests | |
run: npm run test | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: report | |
path: | | |
playwright-report/ | |
timing.json | |
retention-days: 30 |