File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 33
33
- run : pnpm typecheck
34
34
- run : pnpm test -- --coverage
35
35
- run : npx codecov -t ${{ secrets.CODECOV_TOKEN }}
36
+
37
+ build :
38
+ name : Build website
39
+ runs-on : ubuntu-latest
40
+ container :
41
+ image : cypress/browsers:node18.6.0-chrome105-ff104
42
+ options : --user 1001
43
+ needs : validate
44
+ steps :
36
45
- run : pnpm build
37
46
38
47
- name : Save build folder
48
57
container :
49
58
image : cypress/browsers:node18.6.0-chrome105-ff104
50
59
options : --user 1001
51
- needs : validate
60
+ needs : build
52
61
steps :
53
62
- uses : actions/checkout@v3
54
63
- uses : pnpm/action-setup@v2.2.4
66
75
path : .next
67
76
68
77
- name : " UI Tests - Chrome"
69
- uses : cypress-io/github-action@v4
78
+ uses : cypress-io/github-action@v5
70
79
with :
71
80
start : pnpm start
72
81
wait-on : " http://localhost:3000"
@@ -103,7 +112,7 @@ jobs:
103
112
container :
104
113
image : cypress/browsers:node18.6.0-chrome105-ff104
105
114
options : --user 1001
106
- needs : validate
115
+ needs : build
107
116
steps :
108
117
- uses : actions/checkout@v3
109
118
- uses : pnpm/action-setup@v2.2.4
@@ -121,7 +130,7 @@ jobs:
121
130
path : .next
122
131
123
132
- name : " UI Tests - Firefox"
124
- uses : cypress-io/github-action@v4
133
+ uses : cypress-io/github-action@v5
125
134
with :
126
135
start : pnpm start
127
136
wait-on : " http://localhost:3000"
You can’t perform that action at this time.
0 commit comments