File tree Expand file tree Collapse file tree 3 files changed +65
-3
lines changed Expand file tree Collapse file tree 3 files changed +65
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : Next.js Pages CI
2
+ on :
3
+ push :
4
+ branches : ["*"]
5
+ paths-ignore :
6
+ - " README.md"
7
+ - " docs/**"
8
+ pull_request :
9
+ branches : [master]
10
+ paths-ignore :
11
+ - " README.md"
12
+ - " docs/**"
13
+ jobs :
14
+ all-cli-checks :
15
+ runs-on : ubuntu-latest
16
+ defaults :
17
+ run :
18
+ working-directory : ./apps/nextjs-pages
19
+ steps :
20
+ - uses : actions/checkout@v4
21
+ - uses : actions/setup-node@v4
22
+ with :
23
+ node-version : lts/*
24
+ - name : Set environment variables
25
+ run : mv .env.example .env
26
+ - name : Install dependencies
27
+ run : yarn install
28
+ - name : Build application
29
+ run : yarn build
30
+ - name : Run tests
31
+ run : yarn test
32
+ - name : Run linter
33
+ run : yarn lint
34
+ - name : Check types
35
+ run : yarn check-types
36
+ e2e :
37
+ timeout-minutes : 60
38
+ runs-on : ubuntu-latest
39
+ defaults :
40
+ run :
41
+ working-directory : ./apps/nextjs-pages
42
+ steps :
43
+ - uses : actions/checkout@v4
44
+ - uses : actions/setup-node@v4
45
+ with :
46
+ node-version : lts/*
47
+ - name : Set environment variables
48
+ run : mv .env.example-e2e .env
49
+ - name : Install dependencies
50
+ run : npm install -g yarn && yarn
51
+ - name : Install Playwright Browsers
52
+ run : yarn playwright install --with-deps
53
+ - name : Run Playwright tests
54
+ run : yarn test-e2e
55
+ - uses : actions/upload-artifact@v4
56
+ if : always()
57
+ with :
58
+ name : playwright-report
59
+ path : |
60
+ playwright-report/
61
+ mocked-db.json
62
+ retention-days : 30
Original file line number Diff line number Diff line change 1
- name : CI
1
+ name : React Vite CI
2
2
on :
3
3
push :
4
4
branches : ["*"]
11
11
- " README.md"
12
12
- " docs/**"
13
13
jobs :
14
- all-cli-check :
14
+ all-cli-checks :
15
15
runs-on : ubuntu-latest
16
16
defaults :
17
17
run :
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments