diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index fa81933c..0e501c9b 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -9,9 +9,11 @@ jobs: - uses: actions/checkout@v2 with: ref: ${{ github.head_ref }} - - uses: actionsx/prettier@v2 + - uses: actions/setup-node@v1 with: - args: --write . + node-version: "18.x" + - run: npm ci + - run: npm run prettier - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v4.1.2 with: