Skip to content

Commit

Permalink
Merge pull request #143 from conedevelopment/szepeviktor-patch-1
Browse files Browse the repository at this point in the history
Upgrade actions in install-laravel.yml
  • Loading branch information
iamgergo authored Aug 8, 2023
2 parents 5264e2a + cce878a commit 9db9cdc
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/install-laravel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,16 @@ jobs:
shell: "bash"

steps:
-
name: "Checkout repository"
uses: "actions/checkout@v3"
-
name: "Setup PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php }}"
extensions: "dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, gd, fileinfo, exif"
tools: "composer:v2"
coverage: "none"
-
name: "Checkout code"
uses: "actions/checkout@v2"
-
name: "Install Root in Laravel"
run: |
Expand All @@ -66,9 +65,9 @@ jobs:
php artisan root:install --seed
php artisan root:publish --packages
-
name: "Check stubs"
name: "Perform static analysis on stubs"
working-directory: "laravel"
run: |
cd laravel/
composer require --no-interaction --dev --prefer-dist nunomaduro/larastan
php artisan root:action FooBar
php artisan root:extract FooBar
Expand All @@ -79,13 +78,13 @@ jobs:
vendor/bin/phpstan analyze -c vendor/nunomaduro/larastan/extension.neon -l 5 $(find app/Root/ -type f -name FooBar.php)
-
name: "Install front-end dependencies"
working-directory: "laravel"
run: |
cd laravel/
# laravel-vite-plugin is a devDependency
#npm install --production
npm install
-
name: "Build front-end"
working-directory: "laravel"
run: |
cd laravel/
npm run build

0 comments on commit 9db9cdc

Please sign in to comment.