ci: add frontend to pnpm workspace via services/*
Deploy to VPS / deploy (push) Successful in 2m26s
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user