File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+
2+ # This worklflow will perform following actions when the code is pushed to main branch.
3+ # - Run end to end test
4+ # - Test linting.
5+ # - Trigger release-please action to create release which needs e2etest & lint to pass first.
6+ #
7+ # Maintainers:
8+ # - name: Nisha Sharma
9+ # - email: nisha.sharma@uni-jena.de
10+
111name : release-please
212
313on :
616 - main
717
818jobs :
19+ e2etest :
20+ runs-on : ubuntu-latest
21+ strategy :
22+ matrix :
23+ project : [chromium, firefox, webkit]
24+ fail-fast : false
25+ steps :
26+ - uses : actions/checkout@v3
27+ - uses : actions/setup-node@v3
28+ with :
29+ node-version : 16.x
30+ - name : Install dependencies
31+ run : npm ci
32+ - name : Install Playwright
33+ run : npx playwright install --with-deps
34+ - name : Build test application
35+ env :
36+ NODE_OPTIONS : ' --max_old_space_size=4096'
37+ run : npm run build-no-minify
38+ - name : Run E2E tests on ${{ matrix.project }}
39+ run : npx playwright test --project ${{ matrix.project }}
40+ continue-on-error : ${{ matrix.project == 'webkit' }}
41+
42+ lint :
43+ runs-on : ubuntu-latest
44+ steps :
45+ - uses : actions/checkout@v2
46+ - uses : actions/setup-node@v2
47+ with :
48+ node-version : 16.x
49+ - name : Install dependencies
50+ run : npm ci
51+ - name : Run ESLint
52+ run : npm run eslint
53+ - name : Run Prettier
54+ run : npm run prettier
55+ - name : Check types
56+ run : npm run check-types
957 release-please :
1058 runs-on : ubuntu-latest
1159 steps :
You can’t perform that action at this time.
0 commit comments