Skip to content

Commit

Permalink
update dev-dependencies and GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
stklcode committed Mar 29, 2024
1 parent d8ac6f9 commit 87b5b03
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 18 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ jobs:
wordpress: '5.9'
- php: '8.0'
wordpress: '6.0'
- php: '8.1'
- php: '8.2'
wordpress: '6.4'
- php: '8.3'
wordpress: 'latest'
- php: '8.1'
- php: '8.3'
wordpress: 'nightly'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup PHP
Expand All @@ -43,16 +45,16 @@ jobs:
quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: '8.2'
tools: composer
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '20'
- name: Code style checks for PHP and CSS
run: |
composer install
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/wordpress-plugin-asset-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
name: Push to stable
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: '8.2'
tools: composer
- name: Build
run: composer install
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/wordpress-plugin-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
name: New tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: '8.2'
tools: composer
- name: Build
run: composer install
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
},
"require": {
"php": ">=5.6",
"composer/installers": "~1.0"
"composer/installers": "^v1|^v2"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^v1.0",
"matthiasmullie/minify": "^1.3",
"phpunit/phpunit": "^5|^7|^9",
"squizlabs/php_codesniffer": "^3.7",
"squizlabs/php_codesniffer": "^3.9",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"wp-coding-standards/wpcs": "^3.0",
"wp-coding-standards/wpcs": "^3.1",
"yoast/phpunit-polyfills": "^2.0"
},
"scripts": {
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"private": true,
"devDependencies": {
"stylelint": "^14.10.0",
"eslint": "^8.22.0",
"@wordpress/eslint-plugin": "^12.9.0",
"@wordpress/stylelint-config": "^20.0.2"
"stylelint": "^14.16.1",
"eslint": "^8.57.0",
"@wordpress/eslint-plugin": "^17.11.0",
"@wordpress/stylelint-config": "^21.37.0"
}
}

0 comments on commit 87b5b03

Please sign in to comment.