We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e415961 + 81fd5ed commit 4a9fc46Copy full SHA for 4a9fc46
.github/workflows/enforce_prettier.yml
@@ -19,16 +19,17 @@ jobs:
19
runs-on: ubuntu-latest
20
21
steps:
22
- - name: Checkout
23
- uses: actions/checkout@v2
+ - name: Check out Git repository
+ uses: actions/checkout@v3
24
+ - name: Set up Node.js
25
+ uses: actions/setup-node@v3
26
with:
- fetch-depth: 0
- ref: ${{ github.head_ref }}
27
- # Make sure the value of GITHUB_TOKEN will not be persisted in repo's config
28
- persist-credentials: false
29
-
30
- - name: Prettify code
31
- uses: creyD/[email protected]
+ node-version: '20.12.2'
+ - uses: pnpm/action-setup@v3
+ name: Install pnpm
32
33
- prettier_options: --check deploy/**/*.ts test/**/*.ts scripts/**/*.ts
34
- dry: True
+ version: 8
+ - name: Install dependencies
+ run: pnpm install
+ - name: Prettier Check
35
+ run: pnpm prettier:check
0 commit comments