Repository navigation
Add Layers demos #107
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: Lint | |
| on: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: write | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2 | |
| with: | |
| php-version: '8.5' | |
| tools: composer:v2 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 | |
| with: | |
| version: 11 | |
| - name: Setup Node | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: '22' | |
| cache: 'pnpm' | |
| - name: Install Dependencies | |
| run: | | |
| composer install --no-interaction --prefer-dist --optimize-autoloader | |
| pnpm install --frozen-lockfile | |
| - name: Setup Environment | |
| run: | | |
| cp .env.example .env | |
| php artisan key:generate | |
| touch database/database.sqlite | |
| php artisan migrate --force | |
| - name: Generate Wayfinder Routes | |
| run: php artisan wayfinder:generate --no-interaction | |
| - name: Pint | |
| run: vendor/bin/pint | |
| - name: Oxfmt | |
| run: pnpm run format | |
| - name: Oxlint | |
| run: pnpm run lint | |
| - name: Commit Changes | |
| uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 # v7.1.0 | |
| with: | |
| commit_message: Fix code style |