forked from aslan/applicant-site
prodV1 #2
|
@ -51,7 +51,7 @@ jobs:
|
||||||
run: composer install
|
run: composer install
|
||||||
|
|
||||||
- name: Setup project
|
- name: Setup project
|
||||||
run: make setup-test
|
run: make setup-ci
|
||||||
|
|
||||||
- name: Check lint
|
- name: Check lint
|
||||||
run: make lint
|
run: make lint
|
||||||
|
|
10
Makefile
10
Makefile
|
@ -15,6 +15,16 @@ setup:
|
||||||
npm run build
|
npm run build
|
||||||
make ide-helper
|
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:
|
setup-prod:
|
||||||
composer install
|
composer install
|
||||||
npm ci
|
npm ci
|
||||||
|
|
Loading…
Reference in New Issue