Skip to content

Commit

Permalink
Fix Chrome driver version in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
range-of-motion committed Aug 30, 2024
1 parent 3014825 commit 5493fea
Show file tree
Hide file tree
Showing 3 changed files with 715 additions and 604 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'
- uses: actions/setup-node@v3
with:
node-version: 18
Expand All @@ -89,7 +89,7 @@ jobs:
run: php artisan migrate --database=testing
- name: Run Dusk
run: |
php artisan dusk:chrome-driver $(google-chrome -version | awk '{ print $3 }' | cut -d . -f 1)
php artisan dusk:chrome-driver 128
nohup bash -c './vendor/laravel/dusk/bin/chromedriver-linux > /dev/null 2>&1 &'
nohup bash -c 'php artisan serve > /dev/null 2>&1 &'
php artisan dusk
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"doctrine/dbal": "^3.0",
"guzzlehttp/guzzle": "^7.0.1",
"intervention/image": "^2.4",
"laravel/dusk": "^7.0",
"laravel/dusk": "^8.2",
"laravel/framework": "^10.0",
"laravel/tinker": "^2.7",
"livewire/livewire": "^2.3",
Expand Down
Loading

0 comments on commit 5493fea

Please sign in to comment.