add setup scenario for CI

This commit is contained in:
aslan 2024-03-12 09:43:22 +03:00
parent 2eca5776b9
commit ad97ed8a43
2 changed files with 11 additions and 1 deletions

View File

@ -51,7 +51,7 @@ jobs:
run: composer install
- name: Setup project
run: make setup-test
run: make setup-ci
- name: Check lint
run: make lint

View File

@ -15,6 +15,16 @@ setup:
npm run build
make ide-helper
setup-ci:
composer install
cp -n .env.example .env
php artisan key:gen --ansi
touch database/database.sqlite
php artisan migrate:refresh
php artisan db:seed
npm ci
npm run build
setup-prod:
composer install
npm ci