We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
prettier
1 parent 909ea14 commit 60b22f9Copy full SHA for 60b22f9
2 files changed
.github/workflows/build.yml
@@ -17,6 +17,17 @@ jobs:
17
- run: npm ci
18
- run: npm run build
19
20
+ prettier:
21
+ runs-on: ubuntu-latest
22
+ steps:
23
+ - uses: actions/checkout@v4
24
+ - uses: actions/setup-node@v4
25
+ with:
26
+ node-version: 18
27
+ cache: npm
28
+ - run: npm ci
29
+ - run: npm run prettier:check
30
+
31
lint:
32
runs-on: ubuntu-latest
33
steps:
package.json
@@ -36,6 +36,7 @@
36
"lint": "eslint .",
37
"test": "NODE_ENV=test jest --coverage --detectOpenHandles",
38
"prettier": "prettier --config .prettierrc --write .",
39
+ "prettier:check": "prettier --config .prettierrc --check .",
40
"test:watch": "jest --watch"
41
},
42
"peerDependencies": {
0 commit comments