diff --git a/.gitea/workflows/php.yml b/.gitea/workflows/php.yml index 0caf2cc..eecd9a7 100644 --- a/.gitea/workflows/php.yml +++ b/.gitea/workflows/php.yml @@ -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 diff --git a/Makefile b/Makefile index 4a7b1c2..c638179 100644 --- a/Makefile +++ b/Makefile @@ -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