|
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 | 18 |
|
19 |
| - steps: |
20 |
| - - name: Checkout code |
21 |
| - uses: actions/checkout@v4 |
| 19 | + steps: |
| 20 | + - name: Checkout code |
| 21 | + uses: actions/checkout@v4 |
22 | 22 |
|
23 |
| - - name: Set up Node.js |
24 |
| - uses: actions/setup-node@v4 |
25 |
| - with: |
26 |
| - node-version: "20" |
27 |
| - cache: "pnpm" |
| 23 | + - name: Set up Node.js |
| 24 | + uses: actions/setup-node@v4 |
| 25 | + with: |
| 26 | + node-version: "20" |
| 27 | + cache: "pnpm" |
28 | 28 |
|
29 |
| - - name: Install dependencies |
30 |
| - run: pnpm install --frozen-lockfile |
| 29 | + - name: Install dependencies |
| 30 | + run: pnpm install --frozen-lockfile |
31 | 31 |
|
32 |
| - - name: Build static site |
33 |
| - run: pnpm build |
| 32 | + - name: Build static site |
| 33 | + run: pnpm build |
34 | 34 |
|
35 |
| - - name: Set up Rust |
36 |
| - uses: actions-rs/toolchain@v1 |
37 |
| - with: |
38 |
| - toolchain: stable |
| 35 | + - name: Set up Rust |
| 36 | + uses: actions-rs/toolchain@v1 |
| 37 | + with: |
| 38 | + toolchain: stable |
39 | 39 |
|
40 |
| - - name: Install lychee |
41 |
| - run: cargo install lychee |
| 40 | + - name: Install lychee |
| 41 | + run: cargo install lychee |
42 | 42 |
|
43 |
| - - name: Check links |
44 |
| - run: lychee --verbose --no-progress './out/**/*.html' |
| 43 | + - name: Check links |
| 44 | + run: lychee --verbose --no-progress './out/**/*.html' |
45 | 45 |
|
46 |
| -code-validate: |
47 |
| - name: Code snippet and GraphQL validation |
48 |
| - runs-on: ubuntu-latest |
49 |
| - steps: |
50 |
| - - uses: actions/checkout@v4 |
| 46 | + code-validate: |
| 47 | + name: Code snippet and GraphQL validation |
| 48 | + runs-on: ubuntu-latest |
| 49 | + steps: |
| 50 | + - uses: actions/checkout@v4 |
51 | 51 |
|
52 |
| - - uses: actions/setup-node@v4 |
53 |
| - with: |
54 |
| - node-version: "20" |
55 |
| - cache: "pnpm" |
| 52 | + - uses: actions/setup-node@v4 |
| 53 | + with: |
| 54 | + node-version: "20" |
| 55 | + cache: "pnpm" |
56 | 56 |
|
57 |
| - - name: Install dependencies |
58 |
| - run: pnpm install --frozen-lockfile |
| 57 | + - name: Install dependencies |
| 58 | + run: pnpm install --frozen-lockfile |
59 | 59 |
|
60 |
| - - name: Run validation w/ annotations |
61 |
| - run: pnpm lint:docs:ci |
| 60 | + - name: Run validation w/ annotations |
| 61 | + run: pnpm lint:docs:ci |
62 | 62 |
|
63 |
| - - name: Validate code snippets |
64 |
| - run: pnpm validate:snippets |
| 63 | + - name: Validate code snippets |
| 64 | + run: pnpm validate:snippets |
0 commit comments