Skip to content

Commit e7deb82

Browse files
committed
need NODE_ENV when building the test suite
1 parent 2ab035d commit e7deb82

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci-jobs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ jobs:
6767
- uses: ./.github/actions/setup
6868
- name: build
6969
run: pnpm vite build --mode=development
70+
env:
71+
NODE_ENV: development
7072
- name: test
7173
run: pnpm test
7274

@@ -100,6 +102,8 @@ jobs:
100102
- uses: ./.github/actions/setup
101103
- name: build
102104
run: pnpm vite build --mode=${{ matrix.BUILD || 'development' }}
105+
env:
106+
NODE_ENV: ${{ matrix.BUILD || 'development' }}
103107
- name: test
104108
env:
105109
ALL_DEPRECATIONS_ENABLED: ${{ matrix.ALL_DEPRECATIONS_ENABLED }}
@@ -121,6 +125,7 @@ jobs:
121125
- name: build
122126
env:
123127
ALL_SUPPORTED_BROWSERS: true
128+
NODE_ENV: development
124129
run: pnpm vite build --mode=development
125130

126131
- name: Set BrowserStack Local Identifier

0 commit comments

Comments
 (0)