chore: pnpm up
This commit is contained in:
15
.github/workflows/default.yaml
vendored
15
.github/workflows/default.yaml
vendored
@ -51,10 +51,21 @@ jobs:
|
||||
- name: 🔄 Pull Git LFS files
|
||||
run: git lfs pull
|
||||
|
||||
- name: 🔧 Increase file descriptor limits
|
||||
run: |
|
||||
echo "Current file descriptor limits:"
|
||||
ulimit -n
|
||||
echo "Increasing file descriptor limits..."
|
||||
ulimit -n 65536
|
||||
echo "New file descriptor limits:"
|
||||
ulimit -n
|
||||
|
||||
- name: 🏗️ Build site
|
||||
run: |
|
||||
# Install dependencies, build, and generate site output
|
||||
ulimit -n 65536 && pnpm i && pnpm build
|
||||
# Build with NODE_OPTIONS to increase memory limits and avoid watching files
|
||||
export NODE_OPTIONS="--max-old-space-size=4096 --no-warnings --use-inlining-snapshots"
|
||||
# Astro-specific optimizations to avoid file watching
|
||||
pnpm i && NODE_ENV=production ASTRO_DISABLE_HMR=true pnpm build
|
||||
|
||||
- name: 🔑 Configure rclone
|
||||
run: |
|
||||
|
Reference in New Issue
Block a user