This commit is contained in:
1 parent
3d7bd16e29
commit
62e3c1f777
1 file changed
+4
-2
@@ -25,14 +25,16 @@ jobs:
|
||||
git fetch origin --prune
|
||||
git reset --hard origin/main
|
||||
|
||||
# REMOVE OLD CACHE AND BUILDS (Adjust to .output, .next, or dist depending on your framework)
|
||||
# REMOVE OLD CACHE AND BUILDS
|
||||
rm -rf .next .output dist
|
||||
|
||||
# 4. Configure pnpm to automatically approve build scripts
|
||||
pnpm config set trusted-dependencies @parcel/watcher,@swc/core,sharp
|
||||
|
||||
# Install dependencies, run migrations, and build the application
|
||||
# Install dependencies
|
||||
pnpm install --frozen-lockfile
|
||||
|
||||
# Database updates, client generation and build
|
||||
pnpm db:migrate
|
||||
pnpm prisma generate
|
||||
pnpm build
|
||||
|
||||
Reference in new issue
Block a user