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

Commit 4f2c142

Browse files
committed
ci: use NODE_OPTIONs export for buils
1 parent 43f07c7 commit 4f2c142

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
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: pnpm build --max_old_space_size=16384
59+
run:
60+
NODE_OPTIONS=--max_old_space_size=8192 pnpm build
61+
--max_old_space_size=16384
6062

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

.github/workflows/release.yml

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

5858
- name: Build packages
59-
run: pnpm build --max_old_space_size=16384
59+
run: NODE_OPTIONS=--max_old_space_size=16384 pnpm build
6060

6161
- name: Run tests
6262
run: pnpm test:ci

packages/c-tag/src/c-tag.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,7 @@ export const CTagCloseButton = defineComponent({
127127
{...attrs}
128128
disabled={props?.isDisabled}
129129
>
130-
{slots.default
131-
? () => getValidChildren(slots)
132-
: () => <CTagCloseIcon />}
130+
{slots.default ? () => getValidChildren(slots) : <CTagCloseIcon />}
133131
</chakra.button>
134132
)
135133
},

0 commit comments

Comments
 (0)