-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #969 from tomusborne/release/1.8.0
Release: 1.8.0
- Loading branch information
Showing
217 changed files
with
25,179 additions
and
15,363 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,13 +45,12 @@ jobs: | |
if: steps.js-files.outputs.any_changed == 'true' | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 14 | ||
node-version: 16 | ||
cache: 'npm' | ||
|
||
- name: Download deps | ||
if: steps.js-files.outputs.any_changed == 'true' | ||
uses: bahmutov/npm-install@v1 | ||
with: | ||
useLockFile: false | ||
|
||
- name: Lint | ||
if: steps.js-files.outputs.any_changed == 'true' | ||
|
@@ -78,13 +77,12 @@ jobs: | |
if: steps.js-files.outputs.any_changed == 'true' | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 14 | ||
node-version: 16 | ||
cache: 'npm' | ||
|
||
- name: Download deps | ||
if: steps.js-files.outputs.any_changed == 'true' | ||
uses: bahmutov/npm-install@v1 | ||
with: | ||
useLockFile: false | ||
|
||
- name: Run tests | ||
if: steps.js-files.outputs.any_changed == 'true' | ||
|
@@ -113,13 +111,12 @@ jobs: | |
if: steps.js-files.outputs.any_changed == 'true' | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 14 | ||
node-version: 16 | ||
cache: 'npm' | ||
|
||
- name: Download deps | ||
if: steps.js-files.outputs.any_changed == 'true' | ||
uses: bahmutov/npm-install@v1 | ||
with: | ||
useLockFile: false | ||
|
||
- name: Build files | ||
if: steps.js-files.outputs.any_changed == 'true' | ||
|
@@ -139,7 +136,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
php-versions: ['5.6', '7.4', '8.1'] | ||
php-versions: ['7.2', '7.4', '8.1'] | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
|
@@ -165,12 +162,45 @@ jobs: | |
|
||
- name: Lint | ||
if: steps.php-files.outputs.any_changed == 'true' | ||
run: composer run-script php | ||
run: composer run-script lint | ||
|
||
php-tests: | ||
name: PHP Tests | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
php-versions: ['7.2'] | ||
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 | ||
needs: [js-lint, js-tests, php-lint] | ||
needs: [js-lint, js-tests, php-lint, php-tests] | ||
if: github.event.inputs.build-package == 'true' | ||
steps: | ||
- name: Checkout repo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-notices', 'wp-primitives', 'wp-rich-text'), 'version' => 'fc33cdae48a8ae3099c0'); | ||
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-notices', 'wp-primitives', 'wp-rich-text'), 'version' => 'd8d751036ae0cdf62115'); |
Oops, something went wrong.