ci: add frontend to pnpm workspace via services/*
Deploy to VPS / deploy (push) Successful in 2m26s

- Change pnpm-workspace.yaml from specific paths to services/* and packages/*
- Remove bun.lock (frontend now uses pnpm lockfile)
- Use --no-frozen-lockfile so lockfile auto-updates in CI
This commit is contained in:
asepharyana
2026-07-26 13:13:59 +07:00
parent d5253ebab0
commit 702f96262e
3 changed files with 7 additions and 11 deletions
+2 -5
View File
@@ -40,7 +40,7 @@ jobs:
uses: dtolnay/rust-toolchain@stable
- name: Install dependencies
run: pnpm install --frozen-lockfile
run: pnpm install --no-frozen-lockfile
- name: Lint
run: pnpm run lint
@@ -55,10 +55,7 @@ jobs:
run: pnpm run build:discord-gateway
- name: Build frontend
run: |
pnpm install --no-frozen-lockfile
pnpm run build
working-directory: services/frontend
run: pnpm run build:web
- name: Prepare production environment file
env:
+3 -3
View File
@@ -7,9 +7,9 @@
"scripts": {
"dev:backend": "pnpm --filter './services/backend' run dev",
"dev:discord-gateway": "pnpm --filter './services/discord-gateway' run dev",
"dev:web": "cd services/frontend && pnpm run dev",
"build:web": "cd services/frontend && pnpm run build",
"typecheck:web": "cd services/frontend && pnpm run build",
"dev:web": "pnpm --filter './services/frontend' run dev",
"build:web": "pnpm --filter './services/frontend' run build",
"typecheck:web": "pnpm --filter './services/frontend' run build",
"build:backend": "pnpm --filter './services/backend' run build",
"build:discord-gateway": "pnpm --filter './services/discord-gateway' run build",
"typecheck": "pnpm -r run typecheck",
+2 -3
View File
@@ -1,7 +1,6 @@
packages:
- services/backend
- services/discord-gateway
- packages/shared
- services/*
- packages/*
allowBuilds:
'@discordjs/opus': true