File tree Expand file tree Collapse file tree 5 files changed +15
-172
lines changed Expand file tree Collapse file tree 5 files changed +15
-172
lines changed Original file line number Diff line number Diff line change 11version : 2
22
33updates :
4-
54 - package-ecosystem : " github-actions"
65 directory : " /"
76 schedule :
87 interval : " weekly"
8+ - package-ecosystem : " composer"
9+ directory : " /"
10+ schedule :
11+ interval : " weekly"
Original file line number Diff line number Diff line change @@ -13,20 +13,13 @@ jobs:
1313
1414 - name : Dependabot metadata
1515 id : metadata
16- uses : dependabot/fetch-metadata@v1.6 .0
16+ uses : dependabot/fetch-metadata@v2.0 .0
1717 with :
1818 github-token : " ${{ secrets.GITHUB_TOKEN }}"
1919 compat-lookup : true
2020
21- - name : Auto-merge Dependabot PRs for semver-minor updates
22- if : ${{steps.metadata.outputs.update-type == 'version-update:semver-minor'}}
23- run : gh pr merge --auto --merge "$PR_URL"
24- env :
25- PR_URL : ${{github.event.pull_request.html_url}}
26- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
27-
28- - name : Auto-merge Dependabot PRs for semver-patch updates
29- if : ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
21+ - name : Auto-merge Dependabot PRs for semver-minor/patch updates
22+ if : ${{steps.metadata.outputs.update-type != 'version-update:semver-major'}}
3023 run : gh pr merge --auto --merge "$PR_URL"
3124 env :
3225 PR_URL : ${{github.event.pull_request.html_url}}
Original file line number Diff line number Diff line change @@ -17,11 +17,10 @@ jobs:
1717 steps :
1818 - name : Checkout code
1919 uses : actions/checkout@v4
20-
21- - name : Setup Node
22- uses : actions/setup-node@v4
20+
21+ - uses : oven-sh/setup-bun@v1
2322 with :
24- node -version : ' 20 '
23+ bun -version : latest
2524
2625 - name : Setup PHP
2726 uses : shivammathur/setup-php@v2
3635 echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
3736 - name : Install dependencies
3837 run : composer update --${{ matrix.stability }} --prefer-dist --no-interaction
39-
38+
39+ - name : Install dependencies
40+ run : bun install
41+
4042 - name : Execute tests
41- run : |
42- npm install
43- vendor/bin/phpunit
43+ run : vendor/bin/phpunit
You can’t perform that action at this time.
0 commit comments