File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 IMAGE : nmrium
1414
1515jobs :
16+ e2etest :
17+ runs-on : ubuntu-latest
18+ strategy :
19+ matrix :
20+ project : [chromium, firefox, webkit]
21+ fail-fast : false
22+ steps :
23+ - uses : actions/checkout@v3
24+ - uses : actions/setup-node@v3
25+ with :
26+ node-version : 16.x
27+ - name : Install dependencies
28+ run : npm ci
29+ - name : Install Playwright
30+ run : npx playwright install --with-deps
31+ - name : Build test application
32+ env :
33+ NODE_OPTIONS : ' --max_old_space_size=4096'
34+ run : npm run build-no-minify
35+ - name : Run E2E tests on ${{ matrix.project }}
36+ run : npx playwright test --project ${{ matrix.project }}
37+ continue-on-error : ${{ matrix.project == 'webkit' }}
38+
1639 lint :
1740 runs-on : ubuntu-latest
1841 steps :
3356 name : Deploy to prod
3457 if : github.ref == 'refs/heads/prod-helm-deploy'
3558 runs-on : ubuntu-latest
36- needs : lint
59+ needs : [ lint, e2etest]
3760 steps :
3861 - name : Checkout
3962 uses : actions/checkout@v2
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments