Skip to content

Commit c225fa3

Browse files
committed
Revert "fix: try use CI variable"
This reverts commit f45de0c.
1 parent f45de0c commit c225fa3

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.github/workflows/quality.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,6 @@ jobs:
115115

116116
- name: Build bundle (current branch)
117117
run: npm run build
118-
env:
119-
CI: true
120118

121119
- name: Get current bundle size
122120
id: current_size
@@ -134,8 +132,6 @@ jobs:
134132

135133
- name: Build bundle (main branch)
136134
run: npm run build
137-
env:
138-
CI: true
139135

140136
- name: Get main bundle size
141137
id: main_size

playwright.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ const config: PlaywrightTestConfig = {
1818
? undefined
1919
: {
2020
command: 'npm run dev',
21+
env: {
22+
REACT_APP_DISABLE_CHECKS: 'true',
23+
},
2124
port: 3000,
2225
reuseExistingServer: !process.env.CI,
2326
},

src/store/configureStore.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ function _configureStore<
2828
preloadedState,
2929
middleware: (getDefaultMiddleware) =>
3030
getDefaultMiddleware({
31-
immutableCheck: process.env.CI
31+
immutableCheck: process.env.REACT_APP_DISABLE_CHECKS
3232
? false
3333
: {
3434
ignoredPaths: ['tooltip.currentHoveredRef'],
3535
},
36-
serializableCheck: process.env.CI
36+
serializableCheck: process.env.REACT_APP_DISABLE_CHECKS
3737
? false
3838
: {
3939
ignoredPaths: ['tooltip.currentHoveredRef', 'api'],

0 commit comments

Comments
 (0)