Skip to content

Commit 6313d72

Browse files
committed
circleci only use node_env production on build step
1 parent 915afd6 commit 6313d72

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.circleci/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ jobs:
4848
<<: *defaults
4949
environment:
5050
JEST_JUNIT_OUTPUT_DIR: test-results
51-
NODE_ENV: production
5251
NODE_OPTIONS: --max-old-space-size=4000
5352
steps:
5453
- *restore_git_cache
@@ -66,6 +65,8 @@ jobs:
6665
command: npm run test:unit -- --reporters="default" --reporters="jest-junit" --coverage --coverageReporters=text --coverageReporters=lcov --maxWorkers="2"
6766
- run:
6867
name: Build
68+
environment:
69+
NODE_ENV: production
6970
command: npm run build
7071
- run:
7172
name: Integration

0 commit comments

Comments
 (0)