File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ '**' ]
6+
7+ jobs :
8+
9+ php :
10+ runs-on : ubuntu-latest
11+ steps :
12+
13+ - name : Checkout code
14+ uses : actions/checkout@v4
15+
16+ - name : Setup PHP
17+ uses : shivammathur/setup-php@v2
18+ with :
19+ php-version : 8.1
20+ tools : composer:2
21+
22+ - name : Validate composer.json
23+ run : composer validate --strict
24+
25+ - name : Install dependencies
26+ run : composer update
27+
28+ - name : Run tests
29+ run : composer test
30+
31+ node :
32+ runs-on : ubuntu-latest
33+ steps :
34+
35+ - name : Checkout code
36+ uses : actions/checkout@v4
37+
38+ - name : Setup Node.js
39+ uses : actions/setup-node@v4
40+ with :
41+ node-version : 20
42+
43+ - name : Install dependencies
44+ run : npm ci
45+
46+ - name : Run tests
47+ run : npm test
You can’t perform that action at this time.
0 commit comments