Skip to content

Commit 5b37c09

Browse files
dev: set to level 6 with baseline
PHPStan can check if we loaded the JS build .assets correctly so I added the build step in GA actions.
1 parent 0eff1af commit 5b37c09

File tree

4 files changed

+243
-14
lines changed

4 files changed

+243
-14
lines changed

.github/workflows/test-php.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,22 @@ jobs:
5656
name: PHPStan on PHP 8.0
5757
runs-on: ubuntu-latest
5858
steps:
59+
- name: Checkout source code
60+
uses: actions/checkout@v4
5961
- name: Setup PHP version
6062
uses: shivammathur/setup-php@v2
6163
with:
6264
php-version: '8.0'
6365
extensions: simplexml, mysql
64-
- name: Checkout source code
65-
uses: actions/checkout@v4
66+
- name: Setup Node
67+
uses: actions/setup-node@v4
68+
with:
69+
node-version: 18
70+
- name: Create the build file
71+
run: |
72+
npm ci
73+
npm run build
6674
- name: Install Composer dependencies
6775
run: composer install --prefer-dist --no-progress --no-suggest
6876
- name: PHPStan Static Analysis
69-
run: composer phpstan
77+
run: composer phpstan

0 commit comments

Comments
 (0)