Bump livewire/livewire from 2.12.6 to 3.5.0 #584
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
pull_request: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
env: | |
DB_CONNECTION: sqlite | |
SCOUT_DRIVER: meilisearch | |
MEILISEARCH_HOST: "http://127.0.0.1:7700" | |
MEILISEARCH_KEY: masterKey | |
services: | |
meilisearch: | |
image: getmeili/meilisearch:latest | |
ports: | |
- 7700:7700 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.2 | |
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite | |
tools: composer:v2 | |
coverage: none | |
- name: Install Composer dependencies | |
run: composer install --prefer-dist --no-interaction --no-suggest | |
- name: Run migrations | |
run: | | |
touch database/database.sqlite | |
php artisan migrate --force | |
- name: Cache icons | |
run: php artisan icons:cache | |
- name: Import icon sets | |
run: php artisan icons:import | |
- name: Index icons | |
run: | | |
php artisan scout:index icons | |
php artisan scout:import "App\\Models\\Icon" | |
- name: Install NPM dependencies | |
run: npm install | |
- name: Compile assets | |
run: npm run build | |
- name: Execute tests | |
run: vendor/bin/phpunit | |
- name: Deploy | |
if: github.ref == 'refs/heads/main' | |
run: curl ${{ secrets.ENVOYER_HOOK }}?sha=${{ github.sha }} |