File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 run : npm run tsc-check
2323 - name : Tests front
2424 run : npm test
25+
26+ e2e-tests :
27+ runs-on : ubuntu-latest
28+ steps :
29+ - name : Checkout repository
30+ uses : actions/checkout@v2
31+
32+ - name : Use Node.js 18.13.0
33+ uses : actions/setup-node@v2
34+ with :
35+ node-version : ' 18.13.0'
36+ cache : ' npm'
37+
38+ - name : Install dependencies
39+ run : npm ci
40+
41+ - name : Build
42+ run : npm run build
43+
44+ - name : Check TypeScript Types
45+ run : npm run tsc-check
46+
47+ - name : Run E2E tests
48+ run : npm run ci:e2e
Original file line number Diff line number Diff line change 1414 "test" : " vitest" ,
1515 "prepare" : " husky || \" No need to install husky\" " ,
1616 "tsc-check" : " tsc --noEmit" ,
17- "e2e" : " playwright test --ui"
17+ "e2e" : " playwright test --ui" ,
18+ "ci:e2e" : " playwright test"
1819 },
1920 "dependencies" : {
2021 "@lemoncode/fonk" : " ^1.5.4" ,
Original file line number Diff line number Diff line change @@ -26,11 +26,6 @@ export default defineConfig({
2626 use : { ...devices [ 'Desktop Firefox' ] } ,
2727 } ,
2828
29- {
30- name : 'webkit' ,
31- use : { ...devices [ 'Desktop Safari' ] } ,
32- } ,
33-
3429 /* Test against mobile viewports. */
3530 // {
3631 // name: 'Mobile Chrome',
@@ -54,6 +49,7 @@ export default defineConfig({
5449 /* Run your local dev server before starting the tests */
5550 webServer : {
5651 command : 'npm run dev' ,
52+ url : BASE_URL ,
5753 reuseExistingServer : ! process . env . CI ,
5854 } ,
5955} ) ;
You can’t perform that action at this time.
0 commit comments