Skip to content

Merge branch 'po-489/add-github-actions-6-5-x' into '6.5.x' #99

Merge branch 'po-489/add-github-actions-6-5-x' into '6.5.x'

Merge branch 'po-489/add-github-actions-6-5-x' into '6.5.x' #99

Workflow file for this run

name: Admin
on:
push:
branches:
- 6.5.x
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 init:admin
composer run lint:admin:ci
jest:
uses: shopware/github-actions/.github/workflows/admin-jest.yml@main
with:
extensionName: ${{ github.event.repository.name }}
uploadCoverage: false