Skip to content

Commit 7ec1ec2

Browse files
authored
ci: fix TS canary failures (#753)
1 parent 725aac2 commit 7ec1ec2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/callable-ts-version-unit-test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,9 @@ jobs:
3636
force: true
3737
- name: Run tests
3838
working-directory: ./amplify-data
39+
# Newer TypeScript compilers use more memory type-checking this repo's
40+
# generic-heavy types via ts-jest, exceeding V8's default (~4GB) heap.
41+
# Raise the limit so the canary reports real regressions, not OOMs.
42+
env:
43+
NODE_OPTIONS: --max-old-space-size=8192
3944
run: yarn lint && yarn test

0 commit comments

Comments
 (0)