We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95e4da2 commit 3b77f20Copy full SHA for 3b77f20
2 files changed
.github/workflows/checks.yml
@@ -0,0 +1,23 @@
1
+name: Checks
2
+
3
+on:
4
+ pull_request:
5
6
+jobs:
7
+ format:
8
+ runs-on: ubuntu-latest
9
10
+ steps:
11
+ - name: Checkout
12
+ uses: actions/checkout@v4
13
+ - name: Prepare
14
+ uses: ./.github/actions/prepare
15
+ - name: Lint
16
+ run: npm run format:check
17
18
+ may-merge:
19
+ needs: ["format"]
20
21
22
+ - name: Cleared for merging
23
+ run: echo OK
package.json
@@ -25,7 +25,8 @@
25
"write-translations": "docusaurus write-translations",
26
"write-heading-ids": "docusaurus write-heading-ids",
27
"typecheck": "tsc",
28
- "format": "prettier . --write ."
+ "format": "prettier . --write .",
29
+ "format:check": "prettier --check ."
30
},
31
"dependencies": {
32
"@docusaurus/core": "^3.8.1",
0 commit comments