From 2b1ae148c58dc3b711397727d694fab8af26a184 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Fri, 27 Oct 2023 17:20:21 +0200 Subject: [PATCH] Make build depend on svg --- .github/workflows/front-end.yml | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/.github/workflows/front-end.yml b/.github/workflows/front-end.yml index 1c154a2..0ea5ba1 100644 --- a/.github/workflows/front-end.yml +++ b/.github/workflows/front-end.yml @@ -139,11 +139,26 @@ jobs: run: "npm run scss:cs -- --formatter github" #run: "yarn run scss:cs --formatter github" + svg: + name: "𝟒 SVG validity" + runs-on: "ubuntu-22.04" + timeout-minutes: 1 + steps: + - + name: "Checkout repository" + uses: "actions/checkout@v3.6.0" + - + name: "Validate SVG files" + uses: "szepeviktor/svg-validator@v1.0.0" + with: + svg_path: "public/**/*.svg" + build: - name: "𝟒 Build" + name: "𝟓 Build" needs: - "js_coding_standards" - "scss_coding_standards" + - "svg" runs-on: "ubuntu-22.04" timeout-minutes: 5 steps: @@ -177,20 +192,6 @@ jobs: name: "Check differences to repository" run: "git diff --exit-code" - svg: - name: "𝟓 SVG validity" - runs-on: "ubuntu-22.04" - timeout-minutes: 1 - steps: - - - name: "Checkout repository" - uses: "actions/checkout@v3.6.0" - - - name: "Validate SVG files" - uses: "szepeviktor/svg-validator@v1.0.0" - with: - svg_path: "public/**/*.svg" - # Job numbers: https://en.wikipedia.org/wiki/Mathematical_Alphanumeric_Symbols # JavaScript documentation: https://jsdoc.app/ https://www.npmjs.com/package/eslint-plugin-jsdoc # Validate HTML: https://www.npmjs.com/package/html-validate