Skip to content

Commit

Permalink
- Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieu2607 committed Mar 25, 2024
1 parent 38af5ad commit 0bc8ff2
Show file tree
Hide file tree
Showing 5 changed files with 8,029 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
.gitattributes export-ignore
.github/ export-ignore
.gitignore export-ignore
.changelogs.md export-ignore
.CHANGELOG.md export-ignore
.composer.json.ci export-ignore

# Development files
ecs.php export-ignore
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
restore-keys: |
${{ runner.os }}-php-
- name: Copy .env
run: php -r "copy('composer.json.ci', 'composer.json');"

- name: Add HTTP basic auth credentials
run: echo '${{ secrets.COMPOSER_AUTH_JSON }}' > $GITHUB_WORKSPACE/auth.json

Expand Down
11 changes: 0 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,13 @@
"PixelOpen\\Plausible\\": ""
}
},
"repositories": [
{
"type": "composer",
"url": "https://repo.magento.com/"
}
],
"authors": [
{
"name": "Pixel Open",
"homepage": "https://pixel-open.org/",
"role": "Developer"
}
],
"config": {
"allow-plugins": {
"magento/composer-dependency-version-audit-plugin": true
}
},
"require-dev": {
"symplify/easy-coding-standard": "^12.1"
}
Expand Down
45 changes: 45 additions & 0 deletions composer.json.ci
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"name": "pixelopen/magento-plausible",
"description": "Add Plausible Analytics to Magento",
"require": {
"php": "^8",
"magento/module-backend": "*",
"magento/module-checkout": "*",
"magento/module-config": "*",
"magento/module-contact": "*",
"magento/module-customer": "*",
"magento/module-store": "*",
"magento/framework": "*"
},
"type": "magento2-module",
"version": "100.2.1",
"autoload": {
"files": [
"registration.php"
],
"psr-4": {
"PixelOpen\\Plausible\\": ""
}
},
"repositories": [
{
"type": "composer",
"url": "https://repo.magento.com/"
}
],
"authors": [
{
"name": "Pixel Open",
"homepage": "https://pixel-open.org/",
"role": "Developer"
}
],
"config": {
"allow-plugins": {
"magento/composer-dependency-version-audit-plugin": true
}
},
"require-dev": {
"symplify/easy-coding-standard": "^12.1"
}
}
Loading

0 comments on commit 0bc8ff2

Please sign in to comment.