feat(ci): enhance deploy workflow with separate lint and build steps
Split linting and building into distinct steps for backend, frontend, and documentation in `deploy.yml`.
This commit is contained in:
@@ -37,11 +37,23 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: pnpm install
|
||||
|
||||
- name: Lint all projects
|
||||
run: pnpm run lint
|
||||
- name: Lint - Backend
|
||||
run: pnpm run lint:back
|
||||
|
||||
- name: Build all projects
|
||||
run: pnpm run build
|
||||
- name: Build - Backend
|
||||
run: pnpm run build:back
|
||||
|
||||
- name: Lint - Frontend
|
||||
run: pnpm run lint:front
|
||||
|
||||
- name: Build - Frontend
|
||||
run: pnpm run build:front
|
||||
|
||||
- name: Lint - Documentation
|
||||
run: pnpm run lint:docs
|
||||
|
||||
- name: Build - Documentation
|
||||
run: pnpm run build:docs
|
||||
|
||||
- name: Deploy with Docker Compose
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user