fix: fixed issue where plugin wasn't found #269
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Administration | |
on: | |
push: | |
branches: | |
- trunk | |
pull_request: | |
workflow_dispatch: | |
env: | |
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 'true' | |
COMPOSER_ROOT_VERSION: 6.6.9999999-dev | |
jobs: | |
unit: | |
name: Jest | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup extension | |
uses: shopware/github-actions/setup-extension@main | |
with: | |
extensionName: SwagExtensionStore | |
shopwareVersion: trunk | |
install-admin: true | |
- name: Jest Unit Tests | |
shell: bash | |
working-directory: custom/plugins/SwagExtensionStore/src/Resources/app/administration | |
run: npm run unit -- --coverage | |
- name: Upload Coverage | |
uses: codecov/codecov-action@v4 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
with: | |
root_dir: ${{ github.workspace }}/custom/plugins/SwagExtensionStore | |
working-directory: ${{ github.workspace }}/custom/plugins/SwagExtensionStore | |
directory: ${{ github.workspace }}/custom/plugins/SwagExtensionStore/src/Resources/app/administration | |
lint: | |
name: ESLint | |
uses: shopware/github-actions/.github/workflows/admin-eslint.yml@main | |
with: | |
extensionName: ${{ github.event.repository.name }} | |
shopwareVersion: trunk |