prodV1 #2

Open
RomanGolienko wants to merge 309 commits from prodV1 into main
2 changed files with 6 additions and 5 deletions
Showing only changes of commit 8e18821812 - Show all commits

View File

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

View File

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