PPI-1030 - Revamp administration #128
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: Admin | |
on: | |
push: | |
branches: | |
- trunk | |
pull_request: | |
paths: | |
- src/Resources/app/administration/**/* | |
workflow_dispatch: | |
permissions: | |
contents: read | |
id-token: write | |
jobs: | |
eslint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout SwagPayPal | |
uses: actions/checkout@v4 | |
with: | |
path: custom/plugins/${{ github.event.repository.name }} | |
- name: Setup SwagPayPal | |
uses: ./custom/plugins/SwagPayPal/.github/actions/setup-paypal | |
with: | |
install-commercial: true | |
install-admin: true | |
- name: Prepare ESLint | |
run: | | |
bin/console bundle:dump | |
composer admin:generate-entity-schema-types | |
- name: Run ESLint | |
env: | |
ADMIN_PATH: ${{ github.workspace }}/src/Administration/Resources/app/administration | |
working-directory: custom/plugins/${{ github.event.repository.name }} | |
run: composer run lint:admin:ci | |
jest: | |
uses: shopware/github-actions/.github/workflows/admin-jest.yml@main | |
with: | |
extensionName: ${{ github.event.repository.name }} | |
uploadCoverage: false |