Skip to content

Commit 13a92dd

Browse files
committed
OXDEV-7248 Update GHA workflow
1 parent dcc6818 commit 13a92dd

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/oxid-esales/graphql-base.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,18 @@ install:
2020
transform: ''
2121
custom_script_container: |
2222
perl -pi -e 'print "SetEnvIf Authorization \"(.*)\" HTTP_AUTHORIZATION=\$1\n\n" if $. == 1' source/.htaccess
23+
24+
perl -pi -e '
25+
BEGIN {
26+
$inserted = 0;
27+
$autoload_dev = qq( "autoload-dev": {\n "psr-4": {\n "OxidEsales\\\\EshopCommunity\\\\Tests\\\\": "./vendor/oxid-esales/oxideshop-ce/tests"\n }\n },\n);
28+
}
29+
if (!$inserted && $_ =~ /"repositories":/) {
30+
$_ = $autoload_dev . $_;
31+
$inserted = 1;
32+
} ' composer.json
33+
composer dump-autoload
34+
2335
vendor/bin/oe-console oe:module:install /var/www
2436
vendor/bin/oe-console oe:theme:activate apex
2537
vendor/bin/oe-console oe:module:activate oe_graphql_base

0 commit comments

Comments
 (0)