Skip to content

Commit

Permalink
Merge pull request #541 from tomusborne/release/3.4.0
Browse files Browse the repository at this point in the history
Release: 3.4.0
  • Loading branch information
tomusborne authored Feb 6, 2024
2 parents 513d21a + 89277b6 commit f0227eb
Show file tree
Hide file tree
Showing 65 changed files with 22,431 additions and 18,891 deletions.
1 change: 0 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"parser": "babel-eslint",
"globals": {
"wp": true,
"wpApiSettings": true,
Expand Down
67 changes: 66 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,38 @@ jobs:
if: steps.js-files.outputs.any_changed == 'true'
run: npm run lint:js

js-tests:
name: JS Tests
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Check changed files
id: 'js-files'
uses: tj-actions/[email protected]
with:
files: |
src/**/*.js
src/**/*.json
- name: Setup node
if: steps.js-files.outputs.any_changed == 'true'
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'

- name: Download deps
if: steps.js-files.outputs.any_changed == 'true'
uses: bahmutov/npm-install@v1

- name: Run tests
if: steps.js-files.outputs.any_changed == 'true'
run: npm run test:unit

js-commit-dist:
name: Commit dist files
runs-on: ubuntu-latest
Expand Down Expand Up @@ -106,7 +138,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['5.6', '7.4', '8.1']
php-versions: ['7.4', '8.1']
steps:
- name: Checkout repo
uses: actions/checkout@v3
Expand Down Expand Up @@ -134,6 +166,39 @@ jobs:
if: steps.php-files.outputs.any_changed == 'true'
run: composer run-script php

php-tests:
name: PHP Tests
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.4']
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Check changed files
id: 'php-files'
uses: tj-actions/[email protected]
with:
files: |
**/*.php
- name: Setup PHP
if: steps.php-files.outputs.any_changed == 'true'
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}

- name: Download deps
if: steps.php-files.outputs.any_changed == 'true'
uses: ramsey/composer-install@v2

- name: Test
if: steps.php-files.outputs.any_changed == 'true'
run: composer run-script test

build-package:
name: Build package
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ vendor
cghooks.lock
composer.lock
.DS_Store
.phpunit.result.cache
2 changes: 1 addition & 1 deletion assets/css/all.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/components/widget-areas.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/css/main.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/style.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/dist/block-editor.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('wp-data', 'wp-dom-ready', 'wp-element', 'wp-plugins', 'wp-polyfill'), 'version' => '941ef20418fb33c76715610c01428ffc');
<?php return array('dependencies' => array('wp-data', 'wp-dom-ready', 'wp-element', 'wp-plugins'), 'version' => '166c384f313c8f5d9914');
2 changes: 1 addition & 1 deletion assets/dist/block-editor.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/dist/customizer.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-components', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => 'a1c378863dc0c01884b392ae3eb5aa5e');
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-components', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => '42a74b551d83e1b85238');
8 changes: 3 additions & 5 deletions assets/dist/customizer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/dist/dashboard.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('wp-api-fetch', 'wp-components', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => '2c95093bcabcb6977ef9df3992f4003b');
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-components', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => 'dbc22cbe57941af36094');
Loading

0 comments on commit f0227eb

Please sign in to comment.