fix CI
This commit is contained in:
parent
447f8f5552
commit
8e18821812
|
@ -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:
|
||||
|
|
5
Makefile
5
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue