|
15 | 15 | runs-on: ubuntu-24.04 |
16 | 16 | steps: |
17 | 17 | - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
| 18 | + with: |
| 19 | + submodules: recursive |
18 | 20 | - uses: jdx/mise-action@13abe502c30c1559a5c37dff303831bab82c9402 # v2.2.3 |
19 | 21 | - uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8 |
20 | 22 | - run: mise run generate-docs |
|
35 | 37 | steps: |
36 | 38 | - name: Checkout the repository |
37 | 39 | uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
| 40 | + with: |
| 41 | + submodules: recursive |
38 | 42 | - name: Setup tools |
39 | 43 | uses: jdx/mise-action@13abe502c30c1559a5c37dff303831bab82c9402 # v2.2.3 |
40 | 44 | - name: Install dependencies |
|
48 | 52 | steps: |
49 | 53 | - name: Checkout the repository |
50 | 54 | uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
| 55 | + with: |
| 56 | + submodules: recursive |
51 | 57 | - name: Download build artifacts |
52 | 58 | uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 |
53 | 59 | with: |
|
58 | 64 | run: bun install --frozen-lockfile |
59 | 65 | - name: Lint HTML using textlint |
60 | 66 | run: bun run --bun textlint-html |
61 | | - |
62 | | - website-ci: |
63 | | - runs-on: ubuntu-24.04 |
64 | | - defaults: |
65 | | - run: |
66 | | - working-directory: website/typst-docs-web |
67 | | - strategy: |
68 | | - fail-fast: false |
69 | | - matrix: |
70 | | - include: |
71 | | - - task: biome |
72 | | - name: "Run Biome CI" |
73 | | - command: "bun biome ci ." |
74 | | - - task: vitest |
75 | | - name: "Run test runner" |
76 | | - command: "bun run test" |
77 | | - steps: |
78 | | - - name: Checkout the repository |
79 | | - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
80 | | - - name: Setup tools |
81 | | - uses: jdx/mise-action@13abe502c30c1559a5c37dff303831bab82c9402 # v2.2.3 |
82 | | - - name: Install dependencies |
83 | | - run: bun install --frozen-lockfile |
84 | | - - name: ${{ matrix.name }} |
85 | | - run: ${{ matrix.command }} |
0 commit comments