File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 } ,
Original file line number Diff line number Diff 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' ] ,
You can’t perform that action at this time.
0 commit comments