mirror of
https://github.com/zed-industries/zed.git
synced 2026-12-04 11:23:21 +01:00
docs: Check formatting in CI (#15355)
This PR adds a CI step to ensure the docs are properly formatted. Release Notes: - N/A
This commit is contained in:
1 parent
04e25525bf
commit
58755a6c88
4 files changed
+35
-9
No files matched your search
@@ -0,0 +1,24 @@
|
||||
name: Docs
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- "docs/**"
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
check_formatting:
|
||||
name: "Check formatting"
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
||||
|
||||
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3
|
||||
with:
|
||||
version: 9
|
||||
|
||||
- run: pnpm dlx prettier . --check
|
||||
working-directory: ./docs
|
||||
Reference in new issue
Block a user