Skip to content

feat(tools): add Fontsource (frontend) (#255) #184

feat(tools): add Fontsource (frontend) (#255)

feat(tools): add Fontsource (frontend) (#255) #184

Workflow file for this run

name: E2E Tests
on:
push:
branches: [ main, master ]
workflow_dispatch:
jobs:
test:
timeout-minutes: 10
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [16]
steps:
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
with:
version: 7
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name : Build app
run: pnpm build
- name: Launch app
run: pnpm preview & sleep 10 && curl http://localhost:3000 && npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30