Skip to content

Update site name in site.webmanifest #25

Update site name in site.webmanifest

Update site name in site.webmanifest #25

Workflow file for this run

name: Run tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
run-tests:
strategy:
matrix:
test: [unit, e2e]
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
cache: pnpm
- name: Install Repository dependencies
run: pnpm install
- name: Cache Playwright dependencies
if: matrix.test == 'e2e'
uses: actions/cache@v3
with:
path: ~/.cache/ms-playwright/
key: ${{ runner.os }}-playwright-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-playwright-
- name: Install Playwright dependencies
if: matrix.test == 'e2e'
run: pnpm exec playwright install --with-deps chromium
- name: 🏄 Copy test env vars
if: matrix.test == 'e2e'
run: cp .env.example .env
- name: Run ${{ matrix.test }} tests
run: pnpm run test:${{ matrix.test }}