Rework Prettier invocation (#28851)

This commit is contained in:
Renaud Chaput 2024-02-27 17:09:27 +01:00 committed by GitHub
commit 3b31447408
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 74 additions and 361 deletions

18
.github/workflows/format-check.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: Check formatting
on:
push:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Javascript environment
uses: ./.github/actions/setup-javascript
- name: Check formatting with Prettier
run: yarn format:check