From 8caaf4932b5c3b3586909c9fce4d0a9c0614ac50 Mon Sep 17 00:00:00 2001 From: Rango Ack Date: Tue, 26 Sep 2023 10:12:55 +0800 Subject: [PATCH] limiting memory when excute ci tasks --- .github/workflows/deploy-prod.yml | 1 + .github/workflows/deploy-test.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index 4adbb84..8ca4daa 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -36,6 +36,7 @@ jobs: run: yarn build env: NITRO_PRESET: cloudflare + NODE_OPTIONS: "--max_old_space_size=4096" - name: Publish to Cloudflare uses: cloudflare/wrangler-action@2.0.0 diff --git a/.github/workflows/deploy-test.yml b/.github/workflows/deploy-test.yml index aa42074..fd9f84f 100644 --- a/.github/workflows/deploy-test.yml +++ b/.github/workflows/deploy-test.yml @@ -36,6 +36,7 @@ jobs: run: yarn build env: NITRO_PRESET: cloudflare + NODE_OPTIONS: "--max_old_space_size=4096" - name: Publish to Cloudflare uses: cloudflare/wrangler-action@2.0.0