Skip to content

Commit 71c97d3

Browse files
authored
feat: basic ci (#1)
1 parent c6d9dcc commit 71c97d3

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/ci.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
spellcheck:
11+
name: check spelling
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: checkout
15+
uses: actions/checkout@v4
16+
17+
- uses: actions/setup-go@v4
18+
- run: curl -L https://git.io/misspell | bash
19+
20+
- name: Check spelling
21+
run: ./bin/misspell -error ./**/*.mdx ./**/*.md
22+
23+
lint:
24+
name: lint
25+
runs-on: ubuntu-latest
26+
steps:
27+
- name: Checkout
28+
uses: actions/checkout@v4
29+
30+
- name: Setup Node.js
31+
uses: actions/setup-node@v4
32+
with:
33+
node-version: '20'
34+
35+
- name: Install Mintlify CLI
36+
run: npm i -g mintlify
37+
38+
- name: Validate documentation
39+
run: mintlify broken-links

0 commit comments

Comments
 (0)