Skip to content

Commit a785725

Browse files
committed
devops: GA workflow environment updated
1 parent beb1461 commit a785725

File tree

5 files changed

+11186
-969
lines changed

5 files changed

+11186
-969
lines changed

.github/workflows/continous-integration.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,18 @@ jobs:
2222
runs-on: ubuntu-latest
2323
strategy:
2424
matrix:
25-
php: ['8.1', '8.0', '7.4']
26-
wordpress: ['6.3', '6.2', '6.1', '6.0']
25+
php: ['8.4', '8.3', '8.2', '8.1', '7.4']
26+
wordpress: ['6.7', '6.3', '6.1']
2727
composer_version: ['v2']
2828
include:
29-
- php: '7.4'
30-
wordpress: '6.2'
29+
- php: '8.4'
30+
wordpress: '6.7'
3131
coverage: '--coverage --coverage-xml'
3232
xdebug: 1
3333
- php: '8.1'
3434
wordpress: '6.1'
3535
debug: '--debug'
36-
- wordpress: '6.2'
36+
- wordpress: '6.3'
3737
hpos: 1
3838

3939
fail-fast: false

.github/workflows/lint-code.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323
- name: Setup PHP
2424
uses: shivammathur/setup-php@v2
2525
with:
26-
php-version: 8.0
26+
php-version: 8.1
2727
extensions: mbstring, intl
28-
tools: composer
28+
tools: composer:v2
2929

3030
- name: Get Composer Cache Directory
3131
id: composer-cache

composer.json

+32-2
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,30 @@
2626
},
2727
"require-dev": {
2828
"axepress/wp-graphql-cs": "^2.0.0-beta",
29+
"axepress/wp-graphql-headless-login": "^0.3.1",
2930
"axepress/wp-graphql-stubs": "^1.27.1",
3031
"brainmaestro/composer-git-hooks": "^3.0",
32+
"codeception/lib-asserts": "*",
33+
"codeception/module-asserts": "*",
34+
"codeception/module-rest": "*",
35+
"codeception/util-universalframework": "*",
36+
"fakerphp/faker": "^1.23",
37+
"johnpbloch/wordpress": "*",
38+
"lucatume/wp-browser": ">3.1 <3.5",
3139
"php-stubs/woocommerce-stubs": "9.1.0",
3240
"phpstan/extension-installer": "^1.3",
3341
"phpstan/phpdoc-parser": "^1.22.0",
3442
"phpstan/phpstan": "^1.10",
35-
"szepeviktor/phpstan-wordpress": "^1.3"
43+
"phpunit/phpunit": "^9.6",
44+
"stripe/stripe-php": "^16.2",
45+
"szepeviktor/phpstan-wordpress": "^1.3",
46+
"wp-cli/wp-cli-bundle": "*",
47+
"wp-graphql/wp-graphql-jwt-authentication": "^0.7.0",
48+
"wp-graphql/wp-graphql-testcase": "^3.2",
49+
"wpackagist-plugin/woocommerce": "^9.3",
50+
"wpackagist-plugin/woocommerce-gateway-stripe": "^8.8",
51+
"wpackagist-plugin/wp-graphql": "^1.29",
52+
"wpackagist-theme/twentytwentyone": "^2.3"
3653
},
3754
"config": {
3855
"optimize-autoloader": true,
@@ -41,7 +58,8 @@
4158
"allow-plugins": {
4259
"johnpbloch/wordpress-core-installer": true,
4360
"dealerdirect/phpcodesniffer-composer-installer": true,
44-
"phpstan/extension-installer": true
61+
"phpstan/extension-installer": true,
62+
"composer/installers": true
4563
}
4664
},
4765
"autoload": {
@@ -139,6 +157,18 @@
139157
"post-merge": [
140158
"composer install"
141159
]
160+
},
161+
"wordpress-install-dir": "local/public",
162+
"installer-paths": {
163+
"local/public/wp-content/plugins/{$name}/": ["type:wordpress-plugin"],
164+
"local/public/wp-content/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
165+
"local/public/wp-content/themes/{$name}/": ["type:wordpress-theme"]
166+
}
167+
},
168+
"repositories": {
169+
"wpackagist": {
170+
"type": "composer",
171+
"url": "https://wpackagist.org"
142172
}
143173
}
144174
}

0 commit comments

Comments
 (0)