Skip to content

Bump prestashop/github-action-php-lint from 2.1 to 2.2 #31

Bump prestashop/github-action-php-lint from 2.1 to 2.2

Bump prestashop/github-action-php-lint from 2.1 to 2.2 #31

name: setup:di:compile
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
include:
- PHP_VERSION: php81-fpm
MAGENTO_VERSION: 2.4.6
- PHP_VERSION: php82-fpm
MAGENTO_VERSION: 2.4.6
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Start Docker
run: docker run --detach --name magento-project-community-edition michielgerritsen/magento-project-community-edition:${{ matrix.PHP_VERSION }}-magento${{ matrix.MAGENTO_VERSION }}
- name: Upload our code into the docker container
run: docker cp $(pwd) magento-project-community-edition:/data/extensions/
- name: Install the extension in Magento
run: docker exec magento-project-community-edition composer require iriks-it/module-whereami:@dev --no-plugins
- name: Run setup:di:compile
run: docker exec magento-project-community-edition ./retry "php bin/magento setup:di:compile"