From 05b72dd51e6ef6374ec98e2388421309c327200e Mon Sep 17 00:00:00 2001 From: ricafolio <29043464+ricafolio@users.noreply.github.com> Date: Tue, 16 Apr 2024 00:08:51 +0800 Subject: [PATCH] fix: prettier workflow --- .github/workflows/prettier.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index e36c7d6..b694236 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -12,5 +12,13 @@ jobs: with: fetch-depth: 0 + - uses: actions/setup-node@v4 + with: + node-version: 18 + cache: "npm" + + - name: Install prettier + run: npm i prettier prettier-plugin-tailwindcss @trivago/prettier-plugin-sort-imports + - name: Check prettier - run: npx prettier --check . \ No newline at end of file + run: npx prettier --check .