Use build when running CI

This commit is contained in:
Arnaud 2024-10-11 17:59:02 +02:00
parent 2246d4d78e
commit fcda60969a
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663
2 changed files with 4 additions and 1 deletions

View File

@ -107,6 +107,9 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- uses: actions/cache@v4
id: playwright-browsers-cache
with:

View File

@ -76,7 +76,7 @@ export default defineConfig({
/* Run your local dev server before starting the tests */
webServer: {
command: 'npm run dev',
command: 'npm run preview',
url: 'http://127.0.0.1:5173',
reuseExistingServer: !process.env.CI,
},