deps(js): bump concurrently from 9.2.1 to 10.0.3 #20
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: ci | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| php: | |
| name: php ${{ matrix.php }} · ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| php: ["8.3", "8.4"] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Skip if bootstrap not run | |
| id: precheck | |
| run: | | |
| if [ ! -f composer.json ]; then | |
| echo "skip=true" >> "$GITHUB_OUTPUT" | |
| echo "::notice::composer.json not present yet — see INITIALIZE.md" | |
| else | |
| echo "skip=false" >> "$GITHUB_OUTPUT" | |
| fi | |
| - name: Setup PHP | |
| if: steps.precheck.outputs.skip == 'false' | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| extensions: mbstring, xml, ctype, json, pdo, sqlite, pdo_sqlite, intl | |
| coverage: none | |
| - name: Install | |
| if: steps.precheck.outputs.skip == 'false' | |
| run: composer install --prefer-dist --no-progress --no-interaction | |
| - name: Pint (lint) | |
| if: steps.precheck.outputs.skip == 'false' | |
| run: ./vendor/bin/pint --test | |
| - name: Copy .env | |
| if: steps.precheck.outputs.skip == 'false' | |
| run: cp .env.example .env | |
| - name: APP_KEY | |
| if: steps.precheck.outputs.skip == 'false' | |
| run: php artisan key:generate | |
| - name: Passport keys | |
| if: steps.precheck.outputs.skip == 'false' | |
| run: php artisan passport:keys --force | |
| - name: PHPUnit (tests) | |
| if: steps.precheck.outputs.skip == 'false' | |
| run: ./vendor/bin/phpunit | |
| node: | |
| name: node 22 · assets | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Skip if bootstrap not run | |
| id: precheck | |
| run: | | |
| if [ ! -f package.json ]; then | |
| echo "skip=true" >> "$GITHUB_OUTPUT" | |
| echo "::notice::package.json not present yet — see INITIALIZE.md" | |
| else | |
| echo "skip=false" >> "$GITHUB_OUTPUT" | |
| fi | |
| - uses: actions/setup-node@v6 | |
| if: steps.precheck.outputs.skip == 'false' | |
| with: | |
| node-version: "22" | |
| cache: npm | |
| - run: npm ci | |
| if: steps.precheck.outputs.skip == 'false' | |
| - run: npm run build | |
| if: steps.precheck.outputs.skip == 'false' |