Skip to content

Small Quality of Life Improvements #9

Small Quality of Life Improvements

Small Quality of Life Improvements #9

Workflow file for this run

name: CI (Staging PR)
on:
pull_request:
branches:
- staging
jobs:
php-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
tools: composer:v2
coverage: none
- name: Install PHP dependencies (with dev)
run: composer install --no-interaction --prefer-dist --optimize-autoloader
- name: Prepare .env for tests
run: |
cp .env.example .env
php artisan key:generate
env:
APP_ENV: testing
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install frontend deps & build
run: |
npm ci
npm run build
# If you have tests, this is where they run
- name: Run Laravel test suite
run: php artisan test