@@ -196,8 +196,8 @@ jobs:
196196 make env_decrypt || true
197197 env :
198198 ENV_PASSWORD : ${{ secrets.ENV_PASSWORD }}
199- - name : Webpack dev build
200- run : npm run webpack:dev
199+ - name : Bundle build
200+ run : npm run bundle:prod || npm run webpack:dev
201201 shell : bash
202202 - name : Run cypress e2e tests
203203 uses : cypress-io/github-action@v6
@@ -212,16 +212,17 @@ jobs:
212212 make start
213213 wait-on : " http://localhost:8080, http://localhost:9000/health"
214214 env : ${{ secrets.CYPRESS_ENV }}
215- - name : Run cypress component tests
216- uses : cypress-io/github-action@v6
217- with :
218- # Currently, the videos are buggy because of low-cpu/electron environment: https://github.com/cypress-io/cypress/issues/8210
219- config : video=false,modifyObstructiveCode=false
220- browser : chrome
221- install : false
222- component : true
223- # TODO: Do component tests need the frontend/backend?
224- env : ${{ secrets.CYPRESS_ENV }}
215+ # rspack currently does not support Cypress component tests
216+ # - name: Run cypress component tests
217+ # uses: cypress-io/github-action@v6
218+ # with:
219+ # # Currently, the videos are buggy because of low-cpu/electron environment: https://github.com/cypress-io/cypress/issues/8210
220+ # config: video=false,modifyObstructiveCode=false
221+ # browser: chrome
222+ # install: false
223+ # component: true
224+ # # TODO: Do component tests need the frontend/backend?
225+ # env: ${{ secrets.CYPRESS_ENV }}
225226 - name : Upload cypress screenshots
226227 uses : actions/upload-artifact@v4
227228 if : failure()
@@ -292,8 +293,8 @@ jobs:
292293 make env_decrypt || true
293294 env :
294295 ENV_PASSWORD : ${{ secrets.ENV_PASSWORD }}
295- - name : Webpack dev build
296- run : npm run webpack:dev
296+ - name : Bundle build
297+ run : npm run bundle:prod || npm run webpack:dev
297298 shell : bash
298299 - name : Install playwright browsers
299300 run : yarn playwright install --with-deps chromium
0 commit comments