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
|
||||
jobs:
|
||||
quality-controll:
|
||||
name: "Check"
|
||||
lint:
|
||||
name: "Lint"
|
||||
runs-on: "ubuntu-latest"
|
||||
container:
|
||||
image: "git.euph.dev/actions/runner-php-8.3:latest"
|
||||
steps:
|
||||
- name: "Checkout"
|
||||
uses: "https://git.euph.dev/actions/checkout@v3"
|
||||
- name: "composer install"
|
||||
- name: "Install Dependencies"
|
||||
working-directory: app
|
||||
run: |
|
||||
composer check-platform-reqs
|
||||
composer install --no-scripts --audit
|
||||
- name: "npm install"
|
||||
run: "npm install --no-fund"
|
||||
parallel --halt soon,fail=1 ::: \
|
||||
"composer check-platform-reqs && composer install --no-scripts --audit" \
|
||||
"npm install --no-fund"
|
||||
- name: "Lint"
|
||||
working-directory: app
|
||||
run: "node node_modules/eslint/bin/eslint.js frontend"
|
||||
|
|
Loading…
Reference in a new issue