Skip to content

feat(frontend): Add frontend test suite with Jest and Puppeteer #2

feat(frontend): Add frontend test suite with Jest and Puppeteer

feat(frontend): Add frontend test suite with Jest and Puppeteer #2

Workflow file for this run

name: Frontend Tests
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'
cache-dependency-path: './frontend/package-lock.json'
- name: Install Dependencies
run: npm ci
- name: Run Unit Tests
run: npm run test:unit