File tree Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : E2E Tests
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+
8
+ jobs :
9
+ e2e :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+ - uses : actions/setup-node@v4
14
+ with :
15
+ node-version : ' 20'
16
+ - run : npm run test-ci
Original file line number Diff line number Diff line change 37
37
"e2e:interactive" : " npx playwright test --ui" ,
38
38
"unit-tests" : " karma start" ,
39
39
"unit-tests:watch" : " karma start --auto-watch --no-single-run" ,
40
- "test" : " npm run unit-tests; npm run e2e"
40
+ "test" : " npm run unit-tests; npm run e2e" ,
41
+ "test-ci" : " bash ./run-test-ci.sh"
41
42
},
42
43
"devDependencies" : {
43
44
"@playwright/test" : " ^1.52.0" ,
Original file line number Diff line number Diff line change
1
+ npm run unit-tests
2
+ UT=$?
3
+ npm run e2e
4
+ E2E=$?
5
+ exit $(( UT + E2 E))
You can’t perform that action at this time.
0 commit comments