Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,17 @@ jobs:
- name: Instalar dependencias (raiz)
run: npm ci

- name: Testes backend
run: npm test
- name: Workaround npm optional deps (rollup linux)
run: npm i --no-save --workspace=frontend @rollup/rollup-linux-x64-gnu

- name: Instalar dependencias (frontend)
run: npm ci --prefix frontend
- 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 --prefix frontend
run: npm run lint --workspace=frontend

- name: Build frontend
run: npm run build --prefix frontend
run: npm run build --workspace=frontend
18 changes: 15 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
/node_modules/
node_modules/
.DS_Store
.env
.env.*
!.env.example
.vscode/
/output/
dist/
build/
output/
backend/output/
npm-debug.log
yarn-error.log
yarn-debug.log
yarn-debug.log

# Test coverage reports
coverage/
frontend/coverage/
backend/coverage/
*.lcov
.nyc_output/
Loading
Loading