Skip to content

Commit

Permalink
Stop using prettier_action in format workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Cirras committed Jul 18, 2023
1 parent d6e39d6 commit f9e9532
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Check format with Prettier
uses: creyD/prettier_action@v4.3
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v3
with:
dry: true
prettier_options: --write **/*.{ts,md}
only_changed: ${{github.event_name == 'pull_request'}}
node-version: 18
cache: npm
- name: Check format with Prettier
run: |
npm ci
npx prettier --check **/*.{ts,md}

0 comments on commit f9e9532

Please sign in to comment.