Skip to content

Commit

Permalink
update dev-dependencies (#140)
Browse files Browse the repository at this point in the history
Build with Node 20 and PHP 8.3, update dependencies.
  • Loading branch information
stklcode committed Jul 5, 2024
1 parent 44d8ed5 commit 0985550
Show file tree
Hide file tree
Showing 7 changed files with 1,632 additions and 1,484 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '7.4', '8.0', '8.1', '8.2' ]
php: [ '7.4', '8.1', '8.2', '8.3' ]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -24,7 +24,7 @@ jobs:
sed -i 's#'$GITHUB_WORKSPACE'#/github/workspace#g' tests-*.xml
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
if: matrix.php == '8.1'
if: matrix.php == '8.2'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand All @@ -37,12 +37,12 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'
tools: composer
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '18'
node-version: '20'
- name: Install
run: |
composer install --no-interaction
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wordpress-plugin-asset-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'
tools: composer
- name: Build
run: composer install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wordpress-plugin-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'
tools: composer
- name: Build
run: composer install
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"matthiasmullie/minify": "^1.3",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpunit/phpunit": "^9",
"squizlabs/php_codesniffer": "^3.7",
"wp-coding-standards/wpcs": "^3.0"
"squizlabs/php_codesniffer": "^3.10",
"wp-coding-standards/wpcs": "^3.1"
},
"scripts": {
"post-install-cmd": [
Expand Down
Loading

0 comments on commit 0985550

Please sign in to comment.