From 5d31116354a964bb480eadf2b47004208c1cf6dc Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Mon, 23 Sep 2024 13:04:53 +0800 Subject: [PATCH] Another attempt on PR prettier --- .github/workflows/prettier-pr.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/prettier-pr.yml b/.github/workflows/prettier-pr.yml index 6f4e073e..051b1abd 100644 --- a/.github/workflows/prettier-pr.yml +++ b/.github/workflows/prettier-pr.yml @@ -14,9 +14,6 @@ jobs: with: node-version: 20 - run: npm ci - - uses: creyD/prettier_action@v4.3 - with: - dry: true - # Don't write anything - prettier_options: '--check --config .prettierrc' - file_pattern: '.' + - run: | + echo "Prettier-ing files" + npx prettier "src/**/*.{js,jsx}" --check