add css linter workflow
Some checks failed
Python formatting PEP8 / Pyhton-PEP8 (push) Successful in 12s
CSS Linter / CSS-Lint (push) Failing after 19s

This commit is contained in:
Finn Christiansen 2023-05-31 22:48:25 +02:00
parent 7375aa89a9
commit 1b9c9f90b8

21
.gitea/workflows/css.yaml Normal file
View file

@ -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"