From 1b9c9f90b88990653d7a26673149bec0aa867a90 Mon Sep 17 00:00:00 2001 From: Finn Christiansen Date: Wed, 31 May 2023 22:48:25 +0200 Subject: [PATCH] add css linter workflow --- .gitea/workflows/css.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitea/workflows/css.yaml diff --git a/.gitea/workflows/css.yaml b/.gitea/workflows/css.yaml new file mode 100644 index 0000000..307c363 --- /dev/null +++ b/.gitea/workflows/css.yaml @@ -0,0 +1,21 @@ +name: CSS Linter +run-name: ${{ gitea.actor }} is running stylelint +on: [push] + +jobs: + CSS-Lint: + runs-on: ubuntu-22.04 + + steps: + - name: Checkout + uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + + - name: Install dependencies + run: | + npm install stylelint stylelint-config-standard + npm init stylelint + + - name: Run checking + run: | + npx stylelint "**/*.css"