Skip to content

Feature/refatoramento monorepo #12

Feature/refatoramento monorepo

Feature/refatoramento monorepo #12

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [master, develop]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm
cache-dependency-path: package-lock.json
- name: Instalar dependencias (raiz)
run: npm ci
- name: Coverage frontend
run: npm run test:coverage --workspace=frontend
- name: Coverage backend
run: npm run test:coverage --workspace=backend
- name: Lint frontend
run: npm run lint --workspace=frontend
- name: Build frontend
run: npm run build --workspace=frontend