Skip to content

feat: swap laravel webpack with laravel vite #106

feat: swap laravel webpack with laravel vite

feat: swap laravel webpack with laravel vite #106

Workflow file for this run

name: PHPStan
on:
workflow_dispatch:
pull_request:
paths:
- '**.php'
- 'phpstan.neon.dist'
jobs:
phpstan:
name: phpstan
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
coverage: none
- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
- name: Install composer dependencies
run: |
export COMPOSER_HOME="$HOME/.config/composer";
composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist --optimize-autoloader
- name: Generate key
run: php artisan key:generate
- name: Run PHPStan
run: ./vendor/bin/phpstan --error-format=github