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
|
- name: Install dependencies
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
|
|
||||||
- name: Lint all projects
|
- name: Lint - Backend
|
||||||
run: pnpm run lint
|
run: pnpm run lint:back
|
||||||
|
|
||||||
- name: Build all projects
|
- name: Build - Backend
|
||||||
run: pnpm run build
|
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
|
- name: Deploy with Docker Compose
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user