Skip to content

Commit

Permalink
Make build depend on svg (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor authored Oct 27, 2023
1 parent 309e9ef commit da6fe4e
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/front-end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]"
-
name: "Validate SVG files"
uses: "szepeviktor/[email protected]"
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:
Expand Down Expand Up @@ -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/[email protected]"
-
name: "Validate SVG files"
uses: "szepeviktor/[email protected]"
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
Expand Down

0 comments on commit da6fe4e

Please sign in to comment.