Merge pull request #22459 from hudsonb/req-node-option

Require --no-node-snapshot in node 20+
This commit is contained in:
Ben Lambert
2024-01-25 13:07:39 +01:00
committed by GitHub
6 changed files with 63 additions and 4 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ jobs:
env:
CI: true
NODE_OPTIONS: --max-old-space-size=4096
NODE_OPTIONS: ${{ matrix.node-version == '20.x' && '--max-old-space-size=4096 --no-node-snapshot' || '--max-old-space-size=4096' }}
INTEGRATION_TEST_GITHUB_TOKEN: ${{ secrets.INTEGRATION_TEST_GITHUB_TOKEN }}
INTEGRATION_TEST_GITLAB_TOKEN: ${{ secrets.INTEGRATION_TEST_GITLAB_TOKEN }}
INTEGRATION_TEST_BITBUCKET_TOKEN: ${{ secrets.INTEGRATION_TEST_BITBUCKET_TOKEN }}
+1 -1
View File
@@ -36,7 +36,7 @@ jobs:
env:
CI: true
NODE_OPTIONS: --max-old-space-size=4096
NODE_OPTIONS: ${{ matrix.node-version == '20.x' && '--max-old-space-size=8192 --no-node-snapshot' || '--max-old-space-size=8192' }}
name: E2E Linux ${{ matrix.node-version }}
steps:
+1 -1
View File
@@ -26,7 +26,7 @@ jobs:
env:
CI: true
NODE_OPTIONS: --max-old-space-size=8192
NODE_OPTIONS: ${{ matrix.node-version == '20.x' && '--max-old-space-size=8192 --no-node-snapshot' || '--max-old-space-size=8192' }}
name: E2E Windows ${{ matrix.node-version }}
steps: