Skip to content

Commit 33afea0

Browse files
authored
Merge pull request #470 from BeAPI/chore/action-github
chore(.github): updates GitHub Actions and Node.js version
2 parents 913f3a0 + 072c4f7 commit 33afea0

File tree

17 files changed

+2927
-43
lines changed

17 files changed

+2927
-43
lines changed

.github/workflows/node.js.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [18.x]
19+
node-version: [24.x]
2020

2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
2323
- name: Use Node.js ${{ matrix.node-version }}
2424
uses: actions/setup-node@v1
2525
with:

.github/workflows/php-quality.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
php-versions: [ 7.4' ]
11+
php-versions: [ '8.3' ]
1212
name: PHP ${{ matrix.php-versions }} Test
1313
steps:
1414
- name: Checkout
@@ -32,4 +32,4 @@ jobs:
3232
- name: Check psalm
3333
run: |
3434
mkdir -p dist
35-
composer psalm
35+
composer psalm

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ package-lock.json
8181

8282
### config
8383
/vendor/
84-
composer.lock
8584

8685
### conf-img
87-
assets/conf-img/*.json
86+
assets/conf-img/*.json

composer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
"description": "Frontend Framework theme for WordPress",
44
"type": "metapackage",
55
"require-dev": {
6-
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
6+
"dealerdirect/phpcodesniffer-composer-installer": "v1.2.0",
77
"php-parallel-lint/php-parallel-lint": "^1.2",
88
"phpcompatibility/php-compatibility": "^9.3",
9-
"phpro/grumphp-shim": "^1.5",
9+
"phpcompatibility/phpcompatibility-wp": "2.1.8",
10+
"phpro/grumphp-shim": "v2.17.0",
1011
"squizlabs/php_codesniffer": "^3.5",
11-
"vimeo/psalm": "^3.13",
12-
"wp-coding-standards/wpcs": "^2.3"
12+
"vimeo/psalm": "5.26.1",
13+
"wp-coding-standards/wpcs": "3.3.0"
1314
},
1415
"scripts": {
1516
"cs": [

0 commit comments

Comments
 (0)