File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : End-to-end Tests
1+ name : Lint, Build and Test
22on :
33 push :
44 branches : [main, develop]
55 pull_request :
66 branches : [main, develop]
77jobs :
8- test :
8+ compile :
99 timeout-minutes : 60
1010 runs-on : ubuntu-latest
1111 steps :
1515 node-version : ' 14.x'
1616 - name : Install dependencies
1717 run : npm ci
18+ - name : Run compile (includes linting, prettier and building)
19+ run : npm run compile
1820 - name : Install Playwright Browsers
1921 run : npx playwright install --with-deps
2022 - name : Run Playwright tests
Original file line number Diff line number Diff line change 99 "lint" : " next lint --report-unused-disable-directives error" ,
1010 "test" : " playwright test" ,
1111 "prettier" : " prettier --write --ignore-path .gitignore ." ,
12- "typecheck" : " tsc --build"
12+ "typecheck" : " tsc --build" ,
13+ "compile" : " npm run prettier && npm run lint && npm run typecheck && npm run build"
1314 },
1415 "dependencies" : {
1516 "next" : " 12.3.1" ,
1819 },
1920 "devDependencies" : {
2021 "@playwright/test" : " 1.22.2" ,
21- "@tailwindcss/aspect-ratio" : " ^ 0.4.0" ,
22+ "@tailwindcss/aspect-ratio" : " 0.4.0" ,
2223 "@types/react" : " 18.0.21" ,
23- "@typescript-eslint/eslint-plugin" : " ^ 5.38.1" ,
24+ "@typescript-eslint/eslint-plugin" : " 5.38.1" ,
2425 "autoprefixer" : " 10.4.7" ,
2526 "eslint" : " 8.17.0" ,
2627 "eslint-config-next" : " 12.1.6" ,
27- "eslint-config-prettier" : " ^ 8.5.0" ,
28+ "eslint-config-prettier" : " 8.5.0" ,
2829 "postcss" : " 8.4.14" ,
29- "prettier" : " ^ 2.7.1" ,
30+ "prettier" : " 2.7.1" ,
3031 "tailwindcss" : " 3.1.2" ,
31- "typescript" : " ^ 4.8.4"
32+ "typescript" : " 4.8.4"
3233 }
33- }
34+ }
You can’t perform that action at this time.
0 commit comments