Skip to content

Update the second instance of the version number in package-lock.json… #941

Update the second instance of the version number in package-lock.json…

Update the second instance of the version number in package-lock.json… #941

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow
name: Acceptance Tests
on:
push:
branches:
- 'develop'
- 'trunk'
- 'master'
paths:
- '.github/workflows/acceptance-tests.yml'
- 'tests/**'
- '**.css'
- '**.scss'
- '**.js'
- '**.php'
- 'codeception.dist.yml'
- 'composer.json'
- 'docker-compose.yml'
- 'package.json'
pull_request:
branches:
- '**'
paths:
- '.github/workflows/acceptance-tests.yml'
- 'tests/**'
- '**.css'
- '**.scss'
- '**.js'
- '**.php'
- 'codeception.dist.yml'
- 'composer.json'
- 'docker-compose.yml'
- 'package.json'
workflow_dispatch:
permissions:
contents: read
jobs:
test:
name: WP ${{ matrix.wp }} / PHP ${{ matrix.php }}
strategy:
# See the following for PHP compatibility of WordPress versions:
# https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/
matrix:
wp:
# Three most recent versions of WordPress
- '6.6'
- '6.5'
- '6.4'
php:
# Most recent version of PHP supported by all of the above, plus 7.4
- '8.3'
- '7.4'
include:
# Latest WordPress on PHP 8.4
- wp: '6.6'
php: '8.4'
# Oldest supported WordPress
- wp: '5.8'
php: '7.4'
fail-fast: false
uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-acceptance-tests.yml@trunk
with:
node: true
php: ${{ matrix.php }}
wp: ${{ matrix.wp }}