Refactor code structure for improved readability and maintainability
Test Suite / test (24.15.0) (push) Has been cancelled
Test Suite / test (24.15.0) (push) Has been cancelled
This commit is contained in:
@@ -26,17 +26,16 @@ jobs:
|
|||||||
|
|
||||||
- name: Install dependencies (backend)
|
- name: Install dependencies (backend)
|
||||||
working-directory: ./backend
|
working-directory: ./backend
|
||||||
run: npm install
|
run: npm ci
|
||||||
|
|
||||||
- name: Generate Prisma Client
|
- name: Typecheck backend
|
||||||
working-directory: ./backend
|
working-directory: ./backend
|
||||||
run: npm run prisma:generate
|
run: npm run typecheck
|
||||||
|
|
||||||
- name: Run tests (backend)
|
|
||||||
working-directory: ./backend
|
|
||||||
run: npm test
|
|
||||||
|
|
||||||
- name: Build NestJS app
|
- name: Build NestJS app
|
||||||
working-directory: ./backend
|
working-directory: ./backend
|
||||||
run: npm run build
|
run: npm run build
|
||||||
continue-on-error: true
|
|
||||||
|
- name: Dependency audit (high+critical)
|
||||||
|
working-directory: ./backend
|
||||||
|
run: npm run audit:high
|
||||||
|
|||||||
@@ -5,7 +5,10 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "nest build",
|
"build": "nest build",
|
||||||
"start": "node dist/main",
|
"start": "node dist/main",
|
||||||
"start:dev": "nest start --watch"
|
"start:dev": "nest start --watch",
|
||||||
|
"typecheck": "tsc --noEmit",
|
||||||
|
"audit:high": "npm audit --audit-level=high",
|
||||||
|
"quality:ci": "npm run typecheck && npm run build && npm run audit:high"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nestjs/common": "^11.1.19",
|
"@nestjs/common": "^11.1.19",
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user