From ab310d2f1ccd5654226b7b417d25c318e652807d Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sat, 14 Sep 2024 13:16:26 +0800 Subject: [PATCH] Try fix prettier action --- .github/workflows/prettier-pr.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/prettier-pr.yml b/.github/workflows/prettier-pr.yml index f0e08085..3186681d 100644 --- a/.github/workflows/prettier-pr.yml +++ b/.github/workflows/prettier-pr.yml @@ -11,6 +11,13 @@ jobs: - uses: actions/checkout@v4 with: 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 with: dry: true + # Don't write anything + prettier_options: '--check'