diff --git a/.gitea/workflows/qs.yml b/.gitea/workflows/qs.yml index 82f6e92..32b3bb0 100644 --- a/.gitea/workflows/qs.yml +++ b/.gitea/workflows/qs.yml @@ -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"