Skip to content

Add frontend linting on the CI pipeline #4

Add frontend linting on the CI pipeline

Add frontend linting on the CI pipeline #4

Workflow file for this run

name: Frontend
on:
pull_request:
push:
paths:
- frontend/**
jobs:
frontend:
name: Lint and Test
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
- name: Install dependencies
run:
npm ci
- name: Run linting
run:
npm run lint
- name: Run Prettier Check
run:
npm run prettier:check:ci
- name: Run Tests
run:
npm run test