We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a69542f commit 79d8f21Copy full SHA for 79d8f21
.github/workflows/html-css-lint.yml
@@ -0,0 +1,32 @@
1
+name: HTML & CSS Lint
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
9
+jobs:
10
+ lint:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout repository
15
+ uses: actions/checkout@v3
16
17
+ - name: Set up Node.js
18
+ uses: actions/setup-node@v3
19
+ with:
20
+ node-version: "18"
21
22
+ - name: Install linters
23
+ run: |
24
+ npm install -g htmlhint stylelint stylelint-config-standard
25
26
+ - name: Run HTMLHint
27
28
+ htmlhint "**/*.html"
29
30
+ - name: Run Stylelint
31
32
+ stylelint "**/*.css"
0 commit comments