Commit 304145b
committed
ci: add client e2e tests to CI workflow (#492)
# Add client e2e tests to CI workflow
This PR adds end-to-end tests for the client package to our CI workflow. The changes include:
1. Adding a new `client-e2e` job to the GitHub Actions workflow that:
- Checks if the client package is affected by changes
- Pre-starts Supabase for testing
- Runs the client e2e tests when needed
2. Updating the dependency chain to include the new `client-e2e` job:
- The `deploy-website` job now depends on `client-e2e`
- The `deploy-demo` job now depends on `client-e2e`
3. Refactoring the client package's testing configuration:
- Renamed `test:integration` to `e2e` for consistency
- Removed the unused `test:vitest` command
- Updated the `test` target to depend on `test:unit` instead of `test:vitest`
These changes ensure that client e2e tests are properly run as part of our CI process before deployments.1 parent d0f7ca4 commit 304145b
2 files changed
Lines changed: 38 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
146 | 180 | | |
147 | 181 | | |
148 | 182 | | |
149 | | - | |
| 183 | + | |
150 | 184 | | |
151 | 185 | | |
152 | 186 | | |
| |||
188 | 222 | | |
189 | 223 | | |
190 | 224 | | |
191 | | - | |
| 225 | + | |
192 | 226 | | |
193 | 227 | | |
194 | 228 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | 167 | | |
183 | 168 | | |
184 | 169 | | |
185 | | - | |
| 170 | + | |
186 | 171 | | |
187 | 172 | | |
188 | 173 | | |
| |||
0 commit comments