3.12 GitHub Actions (CI)

If your plugin uses GitHub Actions, update the workflow to work with the TestApplication.

What to change

  1. Use vendor/bin/console instead of bin/console in tests/Application directory.

  2. Run Yarn in the TestApplication directory.

- name: Install JS dependencies
  run: yarn install --cwd vendor/sylius/test-application

- name: Build assets
  run: |
    vendor/bin/console assets:install -vvv
    yarn --cwd vendor/sylius/test-application encore prod

- name: Load fixtures
  run: vendor/bin/console sylius:fixtures:load -n

Last updated

Was this helpful?