This commit is contained in:
parent
37a63c29cc
commit
01483d1f9e
1 changed files with 10 additions and 7 deletions
|
@ -2,17 +2,20 @@ name: "Quality Check"
|
||||||
|
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
quality-controll:
|
lint:
|
||||||
name: "Check"
|
name: "Lint"
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
container:
|
container:
|
||||||
image: "git.euph.dev/actions/runner-php-8.3:latest"
|
image: "git.euph.dev/actions/runner-php-8.3:latest"
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout"
|
- name: "Checkout"
|
||||||
uses: "https://git.euph.dev/actions/checkout@v3"
|
uses: "https://git.euph.dev/actions/checkout@v3"
|
||||||
- name: "composer install"
|
- name: "Install Dependencies"
|
||||||
|
working-directory: app
|
||||||
run: |
|
run: |
|
||||||
composer check-platform-reqs
|
parallel --halt soon,fail=1 ::: \
|
||||||
composer install --no-scripts --audit
|
"composer check-platform-reqs && composer install --no-scripts --audit" \
|
||||||
- name: "npm install"
|
"npm install --no-fund"
|
||||||
run: "npm install --no-fund"
|
- name: "Lint"
|
||||||
|
working-directory: app
|
||||||
|
run: "node node_modules/eslint/bin/eslint.js frontend"
|
||||||
|
|
Loading…
Reference in a new issue