Skip to content

Make ToS and privacy policy reference domain dynamically #389

Make ToS and privacy policy reference domain dynamically

Make ToS and privacy policy reference domain dynamically #389

Workflow file for this run

name: Tests
on:
push:
jobs:
lint:
name: Lint and Build the Project
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
run_install: true
- name: Lint and check code quality
run: pnpm run check
- name: Build the project
run: pnpm run build
playwright:
name: Playwright E2E Tests
needs: lint
timeout-minutes: 60
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
run_install: true
- name: Install Playwright
run: pnpm exec playwright install
- name: Run Playwright tests
run: CI=1 pnpm run test
- uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
path: |
playwright-report/
test-results/
retention-days: 7
- name: Run Chromatic
uses: chromaui/action@latest
with:
playwright: true
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
exitZeroOnChanges: true
env:
CHROMATIC_ARCHIVE_LOCATION: ./test-results