Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
gwleuverink committed Jan 10, 2024
1 parent 191a055 commit 2411837
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
run: sudo chown -R $(whoami) workbench vendor/pestphp/pest/.temp

- name: Install Workbench NPM dependencies
run: cd workbench && npm ci
run: composer setup-bun

- name: Run Unit & Feature tests
run: composer test
Expand Down
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,13 @@
"prepare": "@php vendor/bin/testbench package:discover --ansi",
"build": "@php vendor/bin/testbench workbench:build --ansi",
"dusk:install-chromedriver": "@php vendor/bin/dusk-updater detect --auto-update --ansi",
"setup-bun": [
"cd ./workbench && npm i",
"cp ./workbench/jsconfig.json ./vendor/orchestra/testbench-core/laravel"
],

"serve": [
"cd ./workbench && npm i",
"cp ./workbench/jsconfig.json ./vendor/orchestra/testbench-core/laravel",
"@setup-bun",
"Composer\\Config::disableProcessTimeout",
"@build",
"@php vendor/bin/testbench serve"
Expand Down

0 comments on commit 2411837

Please sign in to comment.