Skip to content

npm(deps): bump downshift from 9.0.10 to 9.0.12 #532

npm(deps): bump downshift from 9.0.10 to 9.0.12

npm(deps): bump downshift from 9.0.10 to 9.0.12 #532

Workflow file for this run

name: PHP Tests
on:
pull_request:
push:
branches-ignore:
- develop
- main
# Disable all permissions by default; grant minimal permissions per job
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
# Alias 'master' to 'latest'
name: WP ${{ matrix.wp == 'master' && 'latest' || matrix.wp }} and PHP ${{ matrix.php }}
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.allowed_failure }}
permissions:
contents: read
strategy:
fail-fast: false
matrix:
include:
# Check lowest supported WP version, with the lowest supported PHP.
- php: '8.0'
wp: '6.4'
allowed_failure: false
# Check latest WP with the highest supported PHP.
- php: 'latest'
wp: 'master'
allowed_failure: false
steps:
- name: Checkout code
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
- name: Install wordpress environment
run: npm -g install @wordpress/env
- name: Setup PHP ${{ matrix.php }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # 2.36.0
with:
php-version: ${{ matrix.php }}
tools: composer
- name: Install Composer dependencies
uses: ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 # 3.1.1
with:
composer-options: --prefer-dist --no-progress
- name: Setup wp-env
run: wp-env start
env:
WP_ENV_CORE: WordPress/WordPress#${{ matrix.wp }}
- name: Run PHPUnit tests (single site)
run: composer test:integration
- name: Run PHPUnit tests (multisite)
run: composer test:integration-ms