We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f00c2e commit 25c2183Copy full SHA for 25c2183
.github/workflows/build.yaml
@@ -23,17 +23,25 @@ concurrency:
23
24
jobs:
25
prettier:
26
- name: Format with Prettier
+ name: Run prettier check
27
runs-on: ubuntu-22.04
28
timeout-minutes: 5
29
steps:
30
- name: Checkout repo
31
uses: actions/checkout@v4
32
33
- - name: Run prettier with actionsx/prettier
34
- uses: actionsx/prettier@v3
+ - name: Install Node.js
+ uses: actions/setup-node@v4
35
with:
36
- args: --check --log-level=warn .
+ node-version-file: .node-version
37
+ cache: npm
38
+ cache-dependency-path: |
39
+ package-lock.json
40
+ test/package-lock.json
41
+
42
+ - run: SKIP_SUBMODULE_DEPS=1 npm ci
43
44
+ - run: npx prettier --check .
45
46
doctoc:
47
name: Doctoc markdown files
0 commit comments