mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
chore(ci): use NODE_OPTIONS=--max_old_space_size=4096
This commit is contained in:
parent
2a1ee96a4b
commit
45f708ce7b
@ -6,6 +6,7 @@ defaults: &defaults
|
|||||||
- image: circleci/node:latest
|
- image: circleci/node:latest
|
||||||
environment:
|
environment:
|
||||||
NODE_ENV: test
|
NODE_ENV: test
|
||||||
|
NODE_OPTIONS: --max_old_space_size=4096
|
||||||
|
|
||||||
release_branches: &release_branches
|
release_branches: &release_branches
|
||||||
branches:
|
branches:
|
||||||
|
@ -20,11 +20,15 @@ steps:
|
|||||||
displayName: 'Install dependencies'
|
displayName: 'Install dependencies'
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
set JEST_JUNIT_OUTPUT=test-fixtures-junit.xml&& yarn test:fixtures -w=2
|
set JEST_JUNIT_OUTPUT=test-fixtures-junit.xml &&
|
||||||
|
set NODE_OPTIONS=--max_old_space_size=4096 &&
|
||||||
|
yarn test:fixtures -w=2
|
||||||
displayName: 'Test: Build Fixtures'
|
displayName: 'Test: Build Fixtures'
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
set JEST_JUNIT_OUTPUT=test-unit-junit.xml&& yarn test:unit -w=2
|
set JEST_JUNIT_OUTPUT=test-unit-junit.xml &&
|
||||||
|
set NODE_OPTIONS=--max_old_space_size=4096 &&
|
||||||
|
yarn test:unit -w=2
|
||||||
displayName: 'Test: Run unit tests'
|
displayName: 'Test: Run unit tests'
|
||||||
|
|
||||||
- task: PublishTestResults@2
|
- task: PublishTestResults@2
|
||||||
|
Loading…
Reference in New Issue
Block a user