This commit is contained in:
aslan 2024-02-10 14:36:40 +03:00
parent 447f8f5552
commit 8e18821812
2 changed files with 6 additions and 5 deletions

View File

@ -21,7 +21,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up PHP ${{ matrix.php-version }}
- name: Set up PHP ${{ matrix.php-version }} with extensions and tools
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
@ -51,7 +51,7 @@ jobs:
run: composer install # will work
- name: Setup project
run: make setup
run: make setup-test
- name: Check lint
run: make lint
@ -63,7 +63,7 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout
- name: deploy to test server
uses: appleboy/ssh-action@v1.0.3
with:

View File

@ -16,11 +16,12 @@ setup:
make ide-helper
setup-test:
composer install --no-plugins --no-scripts
composer install
cp -n .env.example .env
php artisan key:gen --ansi
rm database/database.sqlite
touch database/database.sqlite
php artisan migrate:refresh
php artisan migrate
php artisan db:seed
npm ci
npm run build