Skip to content

Bump livewire/livewire from 2.12.7 to 3.5.10 #723

Bump livewire/livewire from 2.12.7 to 3.5.10

Bump livewire/livewire from 2.12.7 to 3.5.10 #723

Workflow file for this run

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 }}