-
Notifications
You must be signed in to change notification settings - Fork 5
fix: cache in github actions #96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
4cd50db
37a33a7
81dda27
08ef7f3
73e0eab
f74225e
c844ade
f34963b
a99a75b
aaeab09
ae17db4
5cefbbc
51580e9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -6,7 +6,7 @@ export default defineConfig({ | |||||
| baseURL: "http://localhost:4173", | ||||||
| }, | ||||||
| webServer: { | ||||||
| command: "npm run build && npm run preview", | ||||||
| command: "npm run preview", | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🩺 Stability & Availability | 🟠 Major | ⚡ Quick win 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
printf '\n== playwright.config.ts ==\n'
cat -n src/presentation/web/playwright.config.ts | sed -n '1,120p'
printf '\n== package.json ==\n'
cat -n src/presentation/web/package.json | sed -n '1,120p'
printf '\n== search for webServer command / preview usage ==\n'
rg -n '"npm run preview"|"bun run preview"|"vite preview"|"build && preview"|"playwright' src/presentation/web -SRepository: ThunLights/distopia Length of output: 4640 🏁 Script executed: #!/bin/bash
set -euo pipefail
printf '\n== root package/workflow references ==\n'
rg -n '"test:e2e"|"playwright test"|"vite build"|"bun run build"|"npm run build"|"npm run preview"|"bun run preview"|"playwright install"|"preview"' \
. \
-g '!**/node_modules/**' \
-g '!**/dist/**' \
-g '!**/.git/**' \
-S
printf '\n== files mentioning playwright.config.ts or webServer ==\n'
rg -n 'webServer|playwright.config.ts|reuseExistingServer|baseURL' src .github . -g '!**/node_modules/**' -SRepository: ThunLights/distopia Length of output: 1119 Restore the build step before preview. Suggested change- command: "npm run preview",
+ command: "bun run build && bun run preview",📝 Committable suggestion
Suggested change
🤖 Prompt for AI AgentsSource: Coding guidelines |
||||||
| port: 4173, | ||||||
| // Reuse the server if it is already running (e.g. from a previous test run or `npm run preview`). | ||||||
| reuseExistingServer: true, | ||||||
|
|
||||||
Uh oh!
There was an error while loading. Please reload this page.