Skip to content

Themes

Themes #83

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
tests:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Build docker image
run: |
docker build . \
--build-arg TESTING_E2E='true' \
-t ${{ github.repository }}:${{ github.sha }}
- name: Run docker container
run: docker run -d -p 3000:3000 ${{ github.repository }}:${{ github.sha }}
- name: Install playwright
run: |
yarn
yarn playwright install --with-deps
- name: Run Playwright tests
run: yarn playwright test
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30