Skip to content

Bump cssnano from 6.0.5 to 7.0.0 #96

Bump cssnano from 6.0.5 to 7.0.0

Bump cssnano from 6.0.5 to 7.0.0 #96

Workflow file for this run

name: Run tests
on:
push:
pull_request:
jobs:
run-tests:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
php: [8.2, 8.3]
services:
redis:
image: redis
ports:
- 6379:6379
options: --entrypoint redis-server
name: PHP ${{ matrix.php }}
steps:
- uses: actions/checkout@v4
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ~/.composer/cache/files
key: dependencies-laravel-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite
coverage: none
- name: Setup Node
uses: actions/setup-node@v4
- name: Setup MySQL
run: |
sudo /etc/init.d/mysql start
mysql -u root -proot -e 'CREATE DATABASE IF NOT EXISTS test;'
- name: Install dependencies
run: |
composer install -n --prefer-dist
npm ci
- name: Prepare Application
run: |
cp .env.example .env
php artisan key:generate
npm run build
- name: Execute tests
run: |
npm run test
./vendor/bin/pest
env:
DB_PASSWORD: root
REDIS_PORT: ${{ job.services.redis.ports[6379] }}