docs.yml
1name: Docs
2
3on:
4 pull_request:
5 paths:
6 - "docs/**"
7 push:
8 branches:
9 - main
10
11jobs:
12 check_formatting:
13 name: "Check formatting"
14 runs-on: ubuntu-latest
15
16 steps:
17 - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
18
19 - uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3
20 with:
21 version: 9
22
23 - run: pnpm dlx prettier . --check
24 working-directory: ./docs