-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (33 loc) · 844 Bytes
/
Copy pathci.yml
File metadata and controls
42 lines (33 loc) · 844 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
lint:
name: Lint (HTML · Markdown · Prettier)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
with:
node-version: 20
- name: HTMLHint
run: npx --yes htmlhint index.html
- name: Markdownlint
run: npx --yes markdownlint-cli2 "**/*.md" "#node_modules"
- name: Prettier
run: npx --yes prettier@3 --check .
links:
name: Link check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: lychee
uses: lycheeverse/lychee-action@v2
with:
args: "--no-progress --exclude hiberius.github.io --exclude img.shields.io ."
fail: false