test concurrently

This commit is contained in:
2026-09-26 18:40:46 +00:00
parent ce250d8be5
commit de0c19a86b
2 changed files with 23 additions and 5 deletions
+10 -4
View File
@@ -63,10 +63,16 @@ runs:
run: php artisan wayfinder:generate --with-form
shell: bash
- name: Build Vite app
run: pnpm run build
- name: Run independent application checks
run: |
pnpm exec concurrently \
--names frontend,backend \
--prefix-colors cyan,magenta \
--kill-others-on-fail \
"composer run ci:frontend" \
"composer run ci:backend"
shell: bash
- name: Run ci check
run: composer run ci:check
- name: Run Laravel tests
run: composer run ci:test
shell: bash
+13 -1
View File
@@ -68,10 +68,22 @@
],
"ci:check": [
"Composer\\Config::disableProcessTimeout",
"@ci:frontend",
"@ci:backend",
"@ci:test"
],
"ci:frontend": [
"pnpm audit --audit-level=high",
"pnpm run lint:check",
"pnpm run types:check",
"@test"
"pnpm run build"
],
"ci:backend": [
"@lint:check"
],
"ci:test": [
"@php artisan config:clear --ansi",
"@php artisan test --parallel --processes=2"
],
"test": [
"@php artisan config:clear --ansi",