Skip to content

Commit d31b531

Browse files
committed
reorganize node dependency installation in CI workflow
1 parent 99e4721 commit d31b531

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/tests.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,19 @@ jobs:
5454
npm install
5555
npm run build
5656
57+
- name: Preparing Laravel
58+
run: php artisan key:generate --force && php artisan optimize:clear
59+
60+
- name: Check Route Integrity
61+
run: php artisan route:list
62+
63+
- name: Run Migrations
64+
run: php artisan migrate:fresh --step --force --no-interaction --seed
65+
5766
- name: Pint
5867
run: ./vendor/bin/pint --test
5968

60-
- name: PHPStan
69+
- name: PhpStan
6170
run: ./vendor/bin/phpstan --configuration="phpstan.neon"
6271

6372
- name: Feature Tests

routes/web.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22

3-
use App\Http\Controllers\ProfileController;
43
use App\Livewire\User\Profile;
54
use Illuminate\Support\Facades\Route;
65
use App\Livewire\Users\Index;
@@ -13,10 +12,6 @@
1312
Route::get('/users', Index::class)->name('users.index');
1413

1514
Route::get('/user/profile', Profile::class)->name('user.profile');
16-
17-
Route::get('/profile', [ProfileController::class, 'edit'])->name('profile.edit');
18-
Route::patch('/profile', [ProfileController::class, 'update'])->name('profile.update');
19-
Route::delete('/profile', [ProfileController::class, 'destroy'])->name('profile.destroy');
2015
});
2116

2217
require __DIR__.'/auth.php';

0 commit comments

Comments
 (0)