Skip to content

Commit 3b50803

Browse files
committed
[TASK] Raise compatibility to TYPO3 v14.3 and PHP 8.5
1 parent acfe8ed commit 3b50803

31 files changed

Lines changed: 303 additions & 239 deletions

.ddev/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: bootstrap-package
22
type: typo3
33
docroot: .build/public
4-
php_version: "8.2"
4+
php_version: "8.5"
55
webserver_type: apache-fpm
66
router_http_port: "80"
77
router_https_port: "443"

.github/workflows/ci.yml

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,24 @@ jobs:
1717
fail-fast: false
1818
max-parallel: 5
1919
matrix:
20-
typo3: ['^13', '^14.0']
21-
php: ['8.2', '8.3']
20+
typo3: ['^13.4', '^14.3']
21+
php: ['8.2', '8.3', '8.4', '8.5']
22+
services:
23+
mysql:
24+
image: mysql:8.0
25+
env:
26+
MYSQL_ROOT_PASSWORD: root
27+
ports:
28+
- 3306:3306
29+
options: >-
30+
--health-cmd="mysqladmin ping"
31+
--health-interval=10s
32+
--health-timeout=5s
33+
--health-retries=5
2234
steps:
2335
- id: checkout
2436
name: Checkout Code
25-
uses: actions/checkout@v4
26-
- id: setup_mysql
27-
name: Set up MySQL 8.0
28-
uses: mirromutth/mysql-action@v1.1
29-
with:
30-
mysql version: 8.0
31-
mysql root password: 'root'
37+
uses: actions/checkout@v6
3238
- id: setup_php
3339
name: Set up PHP ${{ matrix.php }}
3440
uses: shivammathur/setup-php@v2
@@ -41,7 +47,7 @@ jobs:
4147
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
4248
echo "timestamp=$(date +"%s")" >> $GITHUB_OUTPUT
4349
- name: Cache Composer dependencies
44-
uses: actions/cache@v4
50+
uses: actions/cache@v5
4551
with:
4652
path: ${{ steps.composer-cache-vars.outputs.dir }}
4753
key: ${{ runner.os }}-composer-${{ matrix.php }}-${{ matrix.typo3 }}-${{ steps.composer-cache-vars.outputs.timestamp }}
@@ -71,12 +77,12 @@ jobs:
7177
composer phpstan -- --error-format=github
7278
- id: tests_unit
7379
name: Unit Tests
74-
if: ${{ always() && steps.install.conclusion == 'success' && matrix.php == '8.3' }}
80+
if: ${{ always() && steps.install.conclusion == 'success' && matrix.php == '8.5' }}
7581
run: |
7682
composer test:php:unit
7783
- id: tests_functional
7884
name: Functional Tests
79-
if: ${{ always() && steps.install.conclusion == 'success' && matrix.php == '8.3' }}
85+
if: ${{ always() && steps.install.conclusion == 'success' && matrix.php == '8.5' }}
8086
run: |
8187
composer test:php:functional
8288
env:
@@ -90,11 +96,11 @@ jobs:
9096
name: Build Frontend
9197
runs-on: ubuntu-latest
9298
steps:
93-
- uses: actions/checkout@v4
99+
- uses: actions/checkout@v6
94100
- name: Setup node
95-
uses: actions/setup-node@v4
101+
uses: actions/setup-node@v6
96102
with:
97-
node-version: 22
103+
node-version: 24
98104
- name: Install
99105
run: |
100106
cd Build
@@ -118,7 +124,7 @@ jobs:
118124
if: (github.ref == 'refs/heads/master') && github.event_name != 'pull_request' && (github.repository == 'benjaminkott/bootstrap_package')
119125
steps:
120126
- name: Checkout
121-
uses: actions/checkout@v4
127+
uses: actions/checkout@v6
122128
- name: Set up PHP Version 7.4
123129
uses: shivammathur/setup-php@v2
124130
with:

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- name: Checkout repository
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@v6
2525
with:
2626
ref: ${{ github.event.inputs.tag || github.ref }}
2727

Build/.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v22.18
1+
v24.15

0 commit comments

Comments
 (0)