chore(deps-dev): bump laravel/sail from 1.63.0 to 1.64.0 #1380
Workflow file for this run
This file contains hidden or 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: Install | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| install: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.5' | |
| extensions: mbstring, pdo, pdo_sqlite, bcmath, opcache, zip, gd, intl | |
| coverage: none | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - name: Get composer cache directory | |
| id: composer-cache | |
| run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT | |
| - name: Cache composer dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: ${{ steps.composer-cache.outputs.dir }} | |
| key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} | |
| restore-keys: ${{ runner.os }}-composer- | |
| - name: Copy environment file | |
| run: cp .env.example .env | |
| - name: Install PHP dependencies | |
| run: composer install --no-interaction --prefer-dist --optimize-autoloader | |
| - name: Generate application key | |
| run: php artisan key:generate | |
| - name: Create SQLite database | |
| run: touch database/database.sqlite | |
| - name: Run database migrations | |
| run: php artisan migrate:fresh --force | |
| env: | |
| DB_CONNECTION: sqlite | |
| DB_DATABASE: database/database.sqlite | |
| - name: Seed database | |
| run: php artisan db:seed --force | |
| env: | |
| DB_CONNECTION: sqlite | |
| DB_DATABASE: database/database.sqlite | |
| - name: Install npm dependencies | |
| run: npm ci | |
| - name: Build frontend assets | |
| run: npm run build |