9
9
strategy :
10
10
max-parallel : 4
11
11
matrix :
12
- php : ['7.4', '8.0', '8.1', '8.2']
12
+ typo3 : ['^12', '^13', '13.4.x-dev']
13
+ php : ['8.2', '8.3']
14
+ include :
15
+ - typo3 : ' ^12'
16
+ php : ' 8.1'
13
17
steps :
18
+
14
19
- id : checkout
15
20
name : Checkout Code
16
- uses : actions/checkout@v3
21
+ uses : actions/checkout@v4
22
+
17
23
- id : setup_php
18
24
name : Set up PHP ${{ matrix.php }}
19
25
uses : shivammathur/setup-php@v2
20
26
with :
21
27
php-version : ${{ matrix.php }}
22
28
tools : composer:v2
29
+
30
+ - name : Composer Cache Vars
31
+ id : composer-cache-vars
32
+ run : |
33
+ echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
34
+ echo "timestamp=$(date +"%s")" >> $GITHUB_OUTPUT
35
+
36
+ - name : Cache Composer dependencies
37
+ uses : actions/cache@v4
38
+ with :
39
+ path : ${{ steps.composer-cache-vars.outputs.dir }}
40
+ key : ${{ runner.os }}-composer-${{ matrix.php }}-${{ matrix.typo3 }}-${{ steps.composer-cache-vars.outputs.timestamp }}
41
+ restore-keys : |
42
+ ${{ runner.os }}-composer-${{ matrix.php }}-${{ matrix.typo3 }}-
43
+ ${{ runner.os }}-composer-${{ matrix.php }}-
44
+ ${{ runner.os }}-composer-
45
+
23
46
- id : install
24
47
name : Install
25
48
run : |
26
- composer install --no-progress
49
+ composer require typo3/cms-core:${{ matrix.typo3 }} --no-progress
50
+ git checkout composer.json
51
+
27
52
- id : lint
28
53
name : Lint
29
54
if : ${{ always() && steps.install.conclusion == 'success' }}
30
55
run : |
31
56
composer test:php:lint
57
+
32
58
- id : cgl
33
59
name : CGL
34
60
if : ${{ always() && steps.install.conclusion == 'success' }}
@@ -39,22 +65,29 @@ jobs:
39
65
name : Build Frontend
40
66
runs-on : ubuntu-latest
41
67
steps :
68
+
42
69
- id : checkout
43
70
name : Checkout Code
44
- uses : actions/checkout@v3
71
+ uses : actions/checkout@v4
72
+
45
73
- id : setup_node
46
74
name : Setup node
47
- uses : actions/setup-node@v3
75
+ uses : actions/setup-node@v4
48
76
with :
49
- node-version : 16
50
- - name : Install
77
+ node-version : 20
78
+
79
+ - id : install
80
+ name : Install
51
81
run : |
52
82
cd Build
53
- npm ci
54
- - name : Build
83
+ npm install
84
+
85
+ - id : build
86
+ name : Build
55
87
run : |
56
88
cd Build
57
89
npm run build
90
+
58
91
- name : Status
59
92
run : |
60
93
git status
0 commit comments