From 4df3d9afd29ccc216888295ae64eb0e5ee22b283 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Sun, 10 Nov 2024 20:18:22 +0800 Subject: [PATCH] add checkout --- .github/workflows/prettier.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 4379c24c7..f67a561c4 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -13,14 +13,14 @@ jobs: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 20.x - - run: ls - - name: Run Prettier - run: npx -y prettier domains/*.json -w --tab-width 2 --print-width 120 + run: npx -y prettier ./domains -w --tab-width 2 --print-width 120 - name: Commit uses: cpina/github-action-push-to-another-repository@main