Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 0b407cd

Browse files
committed
ci: use env option
1 parent 57380d5 commit 0b407cd

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/pr.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ jobs:
5656
run: pnpm lint
5757

5858
- name: Build packages
59-
run: export NODE_OPTIONS="--max_old_space_size=16384" && pnpm build
59+
run: pnpm build
60+
env:
61+
NODE_OPTIONS: "--max-old-space-size=8192"
6062

6163
- name: Run tests
6264
run: pnpm test:ci

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ jobs:
5656
run: pnpm lint
5757

5858
- name: Build packages
59-
run: export NODE_OPTIONS=--max_old_space_size=16384 && pnpm build
59+
run: pnpm build
60+
env:
61+
NODE_OPTIONS: "--max-old-space-size=8192"
6062

6163
- name: Run tests
6264
run: pnpm test:ci

0 commit comments

Comments
 (0)