File tree 1 file changed +26
-14
lines changed
1 file changed +26
-14
lines changed Original file line number Diff line number Diff line change 12
12
- main
13
13
14
14
jobs :
15
- link-check :
16
- name : Broken link checker
17
- runs-on : ubuntu-latest
15
+ link-check :
16
+ name : Broken link checker
17
+ runs-on : ubuntu-latest
18
+
19
+ steps :
20
+ - name : Checkout code
21
+ uses : actions/checkout@v4
18
22
19
- steps :
20
- - name : Checkout code
21
- uses : actions/checkout@v4
23
+ - name : Set up Node.js
24
+ uses : actions/setup-node@v4
25
+ with :
26
+ node-version : " 20"
27
+ cache : " pnpm"
22
28
23
- - name : Set up Rust
24
- uses : actions-rs/toolchain@v1
25
- with :
26
- toolchain : stable
29
+ - name : Install dependencies
30
+ run : pnpm install --frozen-lockfile
31
+
32
+ - name : Build static site
33
+ run : pnpm build
34
+
35
+ - name : Set up Rust
36
+ uses : actions-rs/toolchain@v1
37
+ with :
38
+ toolchain : stable
27
39
28
- - name : Install lychee
29
- run : cargo install lychee
40
+ - name : Install lychee
41
+ run : cargo install lychee
30
42
31
- - name : Check links
32
- run : lychee --verbose --no-progress './src/pages/learn/ **/*.mdx' --base https://graphql.org
43
+ - name : Check links
44
+ run : lychee --verbose --no-progress './out/ **/*.html'
33
45
34
46
code-validate :
35
47
name : Code snippet and GraphQL validation
You can’t perform that action at this time.
0 commit comments