Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork52
Bump laravel-vite-plugin from 1.3.0 to 2.0.0#792
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:Tests | |
on: | |
push: | |
branches: | |
-main | |
pull_request: | |
jobs: | |
tests: | |
runs-on:ubuntu-latest | |
steps: | |
-name:Checkout code | |
uses:actions/checkout@v2 | |
-name:Setup PHP | |
uses:shivammathur/setup-php@v2 | |
with: | |
php-version:8.3 | |
extensions:dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite | |
coverage:none | |
-name:Install Composer dependencies | |
run:composer install --prefer-dist --no-interaction --no-suggest | |
-name:Install NPM dependencies | |
run:npm ci | |
-name:Compile assets | |
run:npm run build | |
-name:Execute tests | |
run:vendor/bin/phpunit | |
-name:Deploy | |
if:github.ref_name == 'main' | |
run:curl ${{ secrets.ENVOYER_HOOK }}?sha=${{ github.sha }} |