Enable auth-service/api-gateway on production, build their images in CI

This commit is contained in:
2026-08-18 14:11:00 +07:00
parent e5afedfa2f
commit b68005be1c
70 changed files with 6781 additions and 263 deletions
+25
View File
@@ -102,3 +102,28 @@ jobs:
- name: Build
run: pnpm --filter @duoc-thu/web build
auth-and-gateway:
name: auth-service + api-gateway — lint + build + test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- name: Enable pnpm
run: corepack enable
- name: Install
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm --filter @duoc-thu/auth-service --filter @duoc-thu/api-gateway lint
- name: Build
run: pnpm --filter @duoc-thu/auth-service --filter @duoc-thu/api-gateway build
- name: Test
run: pnpm --filter @duoc-thu/auth-service --filter @duoc-thu/api-gateway test