Enforce PHP and Blade formatting
All checks were successful
Tests / Laravel tests (pull_request) Successful in 12m39s
All checks were successful
Tests / Laravel tests (pull_request) Successful in 12m39s
This commit is contained in:
@@ -25,11 +25,26 @@ jobs:
|
||||
- name: Install Composer dependencies
|
||||
uses: ramsey/composer-install@v3
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '22'
|
||||
cache: npm
|
||||
|
||||
- name: Install NPM dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Prepare application
|
||||
run: |
|
||||
cp .env.example .env
|
||||
php artisan key:generate --ansi
|
||||
|
||||
- name: Check PHP formatting
|
||||
run: composer format:check
|
||||
|
||||
- name: Check Blade formatting
|
||||
run: npm run format:check
|
||||
|
||||
- name: Run test suite
|
||||
run: php artisan test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user