Try fix prettier action
Some checks failed
Pull Request to `main` from `production` / auto-pull-request (push) Has been cancelled

This commit is contained in:
Lim Chee Aun 2024-09-14 13:16:26 +08:00
parent 6a8d5717b4
commit ab310d2f1c

View file

@ -11,6 +11,13 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
ref: ${{ github.head_ref }} ref: ${{ github.head_ref }}
# Need node to install prettier plugin(s)
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- uses: creyD/prettier_action@v4.3 - uses: creyD/prettier_action@v4.3
with: with:
dry: true dry: true
# Don't write anything
prettier_options: '--check'