Skip to content

Commit 9729ae2

Browse files
authored
chore(ci): remove preview build memory monitor (#1206)
1 parent 52a8b82 commit 9729ae2

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

‎.github/workflows/adev-preview-build.yml‎

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,7 @@ jobs:
4444
build --sandbox_default_allow_network
4545
- run: pnpm install --frozen-lockfile
4646
- name: Build
47-
run: |
48-
(
49-
while true; do
50-
printf 'memory monitor: '
51-
awk '/^(MemTotal|MemAvailable|SwapTotal|SwapFree):/ {printf "%s=%s%s ", $1, $2, $3}' /proc/meminfo
52-
awk '$1 == "oom_kill" {print "oom_kill=" $2}' /proc/vmstat
53-
ps -eo pid,comm,rss --sort=-rss | sed -n '1,6p'
54-
sleep 5
55-
done
56-
) &
57-
monitor_pid=$!
58-
trap 'kill "$monitor_pid" 2>/dev/null || true' EXIT
59-
pnpm run build
47+
run: pnpm run build
6048
env:
6149
NODE_OPTIONS: --max-old-space-size=4096
6250
- uses: angular/dev-infra/github-actions/previews/pack-and-upload-artifact@0512a5b9381ccff00c278d7b4b6ee38e5c09654d

0 commit comments

Comments
 (0)