Skip to content

Bump purgecss-webpack-plugin from 5.0.0 to 7.0.2 #995

Bump purgecss-webpack-plugin from 5.0.0 to 7.0.2

Bump purgecss-webpack-plugin from 5.0.0 to 7.0.2 #995

Workflow file for this run

name: phpunit
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [8.2, 8.3]
stability: [prefer-lowest, prefer-stable]
name: PHP ${{ matrix.php }} - ${{ matrix.stability }}
steps:
- uses: actions/checkout@v4
- name: setup php
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring
coverage: xdebug
- name: setup problem matchers
run: |
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: determine composer cache directory
id: composer-cache
run: "echo \"directory=$(composer config cache-dir)\" >> $GITHUB_OUTPUT"
- name: cache dependencies installed with composer
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.directory }}
key: php-${{ matrix.php-version }}-${{ matrix.stability }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ matrix.php }}-${{ matrix.stability }}-composer
- run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- run: composer run test