File tree Expand file tree Collapse file tree 2 files changed +19
-8
lines changed Expand file tree Collapse file tree 2 files changed +19
-8
lines changed Original file line number Diff line number Diff line change 1717 php-version : ' 8.2'
1818 tools : composer:v2
1919
20- - name : Install dependencies
20+ - name : Setup Node.js
21+ uses : actions/setup-node@v4
22+ with :
23+ node-version : ' 20'
24+ cache : ' npm'
25+
26+ - name : Install PHP dependencies
2127 run : composer install --prefer-dist --no-progress
2228
29+ - name : Install npm dependencies
30+ run : npm ci
31+
2332 - name : Unit tests with coverage
2433 run : composer test:unit:co
2534
3039 run : composer test:stan
3140
3241 - name : Test PHP formating
33- run : composer test:format:php
42+ run : composer test:format:php
43+
44+ - name : JavaScript tests
45+ run : composer test:js
46+
47+ - name : Tests JS formating
48+ run : composer test:format:js
Original file line number Diff line number Diff line change 2828 }
2929 },
3030 "scripts" : {
31- "lint" : [
32- " npm run lint"
33- ],
34- "test:lint" : [
35- " npm run lint:check"
36- ],
31+ "lint" : " npm run lint" ,
32+ "test:lint" : " npm run lint:check" ,
3733 "test:unit" : " pest --parallel" ,
3834 "test:unit:co" : " pest --parallel --coverage --min=100" ,
3935 "test:type-co" : " pest --parallel --type-coverage --min=100" ,
You can’t perform that action at this time.
0 commit comments