Merge pull request #2 from rgrgogu/qas

Merged two projects as one!
This commit is contained in:
lash0000
2026-08-24 12:36:02 +08:00
committed by GitHub
1088 changed files with 103269 additions and 9234 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
node_modules
**/node_modules
.git
.env
*.log
package-lock.json
docker-compose.yml
.dockerignore
+5
View File
@@ -3,6 +3,11 @@ name: Deploy to Cloudflare
on:
push:
branches: [qas]
paths:
- 'apps/api/**'
- 'docker-compose.yml'
- 'pnpm-lock.yaml'
- 'pnpm-workspace.yaml'
workflow_dispatch: {}
jobs:
+5
View File
@@ -3,6 +3,11 @@ name: Deploy to droplet
on:
push:
branches: [main]
paths:
- 'apps/api/**'
- 'docker-compose.yml'
- 'pnpm-lock.yaml'
- 'pnpm-workspace.yaml'
workflow_dispatch: {}
jobs:
+9 -3
View File
@@ -14,11 +14,17 @@ COPY --from=typst /usr/bin/typst /usr/local/bin/typst
WORKDIR /app
# Install production dependencies only
# Workspace manifests first (cache-friendly), then a filtered install —
# pnpm needs every workspace package's manifest present to resolve the
# graph even though only apps/api's deps get installed here.
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
RUN pnpm install --frozen-lockfile
COPY apps/api/package.json ./apps/api/package.json
COPY apps/web/package.json ./apps/web/package.json
RUN pnpm install --frozen-lockfile --filter api...
COPY . .
COPY apps/api ./apps/api
WORKDIR /app/apps/api
RUN chmod +x docker-entrypoint.sh
View File
View File

Some files were not shown because too many files have changed in this diff Show More