Skip to content

Commit 36f8dac

Browse files
committed
Update dependencies from develop
1 parent 7cbd4e3 commit 36f8dac

File tree

10 files changed

+2444
-2499
lines changed

10 files changed

+2444
-2499
lines changed

.github/workflows/build-test-measure.yml

Lines changed: 16 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ jobs:
6060
6161
FILE_COUNT=$(php -f bin/determine-modified-files-count.php "$IGNORE_PATH_REGEX" "$MODIFIED_FILES" --invert)
6262
PHP_FILE_COUNT=$(php -f bin/determine-modified-files-count.php ".+\.php|composer\.(json|lock)|phpstan\.neon\.dist" "$MODIFIED_FILES")
63-
CSS_FILE_COUNT=$(php -f bin/determine-modified-files-count.php ".+\.s?css" "$MODIFIED_FILES")
64-
JS_FILE_COUNT=$(php -f bin/determine-modified-files-count.php "(.+\.(js|snap)|package\.(json|lock))" "$MODIFIED_FILES")
63+
CSS_FILE_COUNT=$(php -f bin/determine-modified-files-count.php ".+\.s?css|package\.json|package-lock\.json" "$MODIFIED_FILES")
64+
JS_FILE_COUNT=$(php -f bin/determine-modified-files-count.php ".+\.(js|snap)|package\.json|package-lock\.json" "$MODIFIED_FILES")
6565
6666
echo "Changed file count: $FILE_COUNT"
6767
echo "Changed PHP file count: $PHP_FILE_COUNT"
@@ -89,14 +89,10 @@ jobs:
8989
- name: Checkout
9090
uses: actions/checkout@v2
9191

92-
- name: Read .nvmrc
93-
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
94-
id: nvm
95-
9692
- name: Setup Node
97-
uses: actions/setup-node@v2
93+
uses: actions/setup-node@v3.0.0
9894
with:
99-
node-version: ${{ steps.nvm.outputs.NVMRC }}
95+
node-version-file: '.nvmrc'
10096
cache: npm
10197

10298
- name: Install Node dependencies
@@ -118,14 +114,10 @@ jobs:
118114
- name: Checkout
119115
uses: actions/checkout@v2
120116

121-
- name: Read .nvmrc
122-
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
123-
id: nvm
124-
125117
- name: Setup Node
126-
uses: actions/setup-node@v2
118+
uses: actions/setup-node@v3.0.0
127119
with:
128-
node-version: ${{ steps.nvm.outputs.NVMRC }}
120+
node-version-file: '.nvmrc'
129121
cache: npm
130122

131123
- name: Install Node dependencies
@@ -256,14 +248,10 @@ jobs:
256248
- name: Checkout
257249
uses: actions/checkout@v2
258250

259-
- name: Read .nvmrc
260-
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
261-
id: nvm
262-
263251
- name: Setup Node
264-
uses: actions/setup-node@v2
252+
uses: actions/setup-node@v3.0.0
265253
with:
266-
node-version: ${{ steps.nvm.outputs.NVMRC }}
254+
node-version-file: '.nvmrc'
267255
cache: npm
268256

269257
- name: Setup Jest cache
@@ -304,14 +292,10 @@ jobs:
304292
with:
305293
php-version: '7.4'
306294

307-
- name: Read .nvmrc
308-
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
309-
id: nvm
310-
311295
- name: Setup Node
312-
uses: actions/setup-node@v2
296+
uses: actions/setup-node@v3.0.0
313297
with:
314-
node-version: ${{ steps.nvm.outputs.NVMRC }}
298+
node-version-file: '.nvmrc'
315299
cache: npm
316300

317301
- name: Get Composer Cache Directory
@@ -436,14 +420,10 @@ jobs:
436420
sleep 1
437421
done
438422
439-
- name: Read .nvmrc
440-
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
441-
id: nvm
442-
443423
- name: Setup Node
444-
uses: actions/setup-node@v2
424+
uses: actions/setup-node@v3.0.0
445425
with:
446-
node-version: ${{ steps.nvm.outputs.NVMRC }}
426+
node-version-file: '.nvmrc'
447427
cache: npm
448428

449429
- name: Get Composer Cache Directory
@@ -589,14 +569,10 @@ jobs:
589569
sleep 1
590570
done
591571
592-
- name: Read .nvmrc
593-
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
594-
id: nvm
595-
596572
- name: Setup Node
597-
uses: actions/setup-node@v2
573+
uses: actions/setup-node@v3.0.0
598574
with:
599-
node-version: ${{ steps.nvm.outputs.NVMRC }}
575+
node-version-file: '.nvmrc'
600576
cache: npm
601577

602578
- name: Get Composer Cache Directory
@@ -693,14 +669,10 @@ jobs:
693669
with:
694670
php-version: '7.4'
695671

696-
- name: Read .nvmrc
697-
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
698-
id: nvm
699-
700672
- name: Setup Node
701-
uses: actions/setup-node@v2
673+
uses: actions/setup-node@v3.0.0
702674
with:
703-
node-version: ${{ steps.nvm.outputs.NVMRC }}
675+
node-version-file: '.nvmrc'
704676
cache: npm
705677

706678
- name: Get Composer Cache Directory

.github/workflows/gutenberg-packages-update.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,10 @@ jobs:
101101
env:
102102
VERSION: ${{ needs.check-gutenberg-release.outputs.latest-version }}
103103

104-
- name: Read .nvmrc
105-
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
106-
id: nvm
107-
108104
- name: Setup Node
109-
uses: actions/setup-node@v2
105+
uses: actions/setup-node@v3.0.0
110106
with:
111-
node-version: ${{ steps.nvm.outputs.NVMRC }}
107+
node-version-file: '.nvmrc'
112108
cache: npm
113109

114110
- name: Configure git user

assets/src/block-validation/components/amp-validation-status/test/__snapshots__/status-notification.js.snap

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/src/components/dev-tools-toggle/test/__snapshots__/index.js.snap

Lines changed: 20 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/src/components/loading/test/__snapshots__/loading.js.snap

Lines changed: 40 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/src/components/template-mode-option/test/__snapshots__/index.js.snap

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"phpcompatibility/phpcompatibility-wp": "2.1.3",
3131
"phpdocumentor/reflection": "~3.0",
3232
"roave/security-advisories": "dev-latest",
33-
"sirbrillig/phpcs-variable-analysis": "2.11.2",
33+
"sirbrillig/phpcs-variable-analysis": "2.11.3",
3434
"wp-cli/export-command": "^2.0",
3535
"wp-cli/extension-command": "^2.0",
3636
"wp-cli/wp-cli": "^2.4",

0 commit comments

Comments
 (0)