Skip to content

Commit

Permalink
Add support for spatie/browsershot v5 (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanzweifel authored Dec 5, 2024
1 parent a73dce3 commit 1ddf856
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
os: [ubuntu-latest]
php: [8.2, 8.3, 8.4]
laravel: [10.*, 11.*]
browsershot: [4.*, 5.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
Expand Down Expand Up @@ -43,7 +44,7 @@ jobs:
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "spatie/browsershot:${{ matrix.browsershot }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
npm ci
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"php": "^8.2",
"hammerstone/sidecar": "^0.4 || ^0.5 || ^0.6",
"illuminate/contracts": "^10.0 || ^11.0",
"spatie/browsershot": "^4.0",
"spatie/browsershot": "^4.0 || ^5.0",
"spatie/laravel-package-tools": "^1.9.2"
},
"require-dev": {
Expand Down

0 comments on commit 1ddf856

Please sign in to comment.