shopware/Setup Shopware
Install Shopware with specific versions in your CI
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| env | Environment for Shopware | yes | test |
| shopware-version | Shopware Version to use | yes | v6.6.10.9 |
| shopware-repository | The shopware repository to checkout | yes | shopware/shopware |
| shopware-github-token | Token used for checking out the shopware repository | yes | ${{ github.token }} |
| php-version | PHP Version to use | yes | 8.3 |
| php-extensions | PHP extensions to install | yes | gd, xml, dom, curl, pdo, mysqli, mbstring, pdo_mysql, bcmath, pcov, zip |
| php-ini-values | PHP ini values to set | no | session.gc_probability=0,session.save_path=/tmp/php-sessions |
| php-fake-version | Fake the version for composer | no | "" |
| composer-root-version | The COMPOSER_ROOT_VERSION that should be set | no | .auto |
| install | Install Shopware | yes | false |
| install-locale | Locale to install | yes | en-GB |
| install-currency | Currency to install | yes | EUR |
| keep-composer-tools | Keep Shopware Composer tools (PHPStan, ECS, BC-Checker) | yes | false |
| mysql-version | MySQL Version to use | yes | builtin |
| node-version | nodejs version to use | no | 20.x |
| npm-version | npm version to use | no | "" |
| install-admin | Whether to install administration npm dependencies and prepare jest | no | "" |
| install-storefront | Whether to install storefront npm dependencies | no | "" |
| skip-js-build | Whether to skip the js build step. By default this is controlled by install-storefront and install-admin | no | false |
| path | Relative path under $GITHUB_WORKSPACE to place the shopware repository | yes | "" |
| allow-insecure-versions | This allows installing older versions of shopware with known vulnerabilities (e.g. for testing updates) | no | false |
| disable-bundles | Comma-separated list of bundles to disable (e.g., Administration, Storefront, Elasticsearch) | no | "" |
Outputs
no outputs