Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions .github/workflows/adev-preview-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,7 @@ jobs:
build --sandbox_default_allow_network
- run: pnpm install --frozen-lockfile
- name: Build
run: |
(
while true; do
printf 'memory monitor: '
awk '/^(MemTotal|MemAvailable|SwapTotal|SwapFree):/ {printf "%s=%s%s ", $1, $2, $3}' /proc/meminfo
awk '$1 == "oom_kill" {print "oom_kill=" $2}' /proc/vmstat
ps -eo pid,comm,rss --sort=-rss | sed -n '1,6p'
sleep 5
done
) &
monitor_pid=$!
trap 'kill "$monitor_pid" 2>/dev/null || true' EXIT
pnpm run build
run: pnpm run build
env:
NODE_OPTIONS: --max-old-space-size=4096
- uses: angular/dev-infra/github-actions/previews/pack-and-upload-artifact@0512a5b9381ccff00c278d7b4b6ee38e5c09654d
Expand Down
Loading