Skip to content

Bump happy-dom from 18.0.1 to 20.0.0 #81

Bump happy-dom from 18.0.1 to 20.0.0

Bump happy-dom from 18.0.1 to 20.0.0 #81

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions: { }
jobs:
php:
name: PHPUnit
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v5
with:
persist-credentials: false
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.4
tools: composer:v2
coverage: xdebug
- name: Install Dependencies
run: composer install --no-interaction --prefer-dist --optimize-autoloader
- name: Copy Environment File
run: cp .env.example .env
- name: Generate Application Key
run: php artisan key:generate
- name: Tests
env:
DB_CONNECTION: sqlite
DB_DATABASE: ':memory:'
CACHE_DRIVER: array
SESSION_DRIVER: array
QUEUE_CONNECTION: sync
run: vendor/bin/phpunit
js:
name: Vitest
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v5
with:
persist-credentials: false
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
- name: Install Dependencies
run: |
composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
npm ci
- name: Build Assets
env:
LARAVEL_BYPASS_ENV_CHECK: 1
run: npm run test