Skip to content

NEXT-00000 - Add github actions #8

NEXT-00000 - Add github actions

NEXT-00000 - Add github actions #8

Workflow file for this run

name: Admin
on:
workflow_dispatch:
push:
branches:
- trunk
pull_request:
workflow_call:
jobs:
eslint:
name: ESLint
runs-on: ubuntu-latest
steps:
- uses: shopware/github-actions/eslint@main
with:
extensionName: ${{ github.event.repository.name }}
projectPath: tests/Jest
jest:
name: Jest
runs-on: ubuntu-latest
env:
ARTIFACTS_PATH: ${{ github.workspace }}/development
steps:
- uses: shopware/github-actions/setup-extension@main
with:
extensionName: ${{ github.event.repository.name }}
install: true
install-admin: true
install-storefront: false
extraRepositories: |
{
"${{ github.event.repository.name }}": {
"type": "path",
"url": "custom/plugins/${{ github.event.repository.name }}",
"symlink": true
}
}
- run: |
composer -d custom/plugins/${{ github.event.repository.name }} run admin:install
composer -d custom/plugins/${{ github.event.repository.name }} run admin:unit -- --ci