chore(deps): update typescript-eslint monorepo to v7 (major) #231
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Prettier | |
on: | |
pull_request: | |
paths: | |
- '**.json' | |
permissions: | |
pull-requests: write | |
jobs: | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 9 | |
- name: Install dependencies | |
run: pnpm install --dev | |
- name: Prettify code | |
uses: creyD/[email protected] | |
with: | |
# This part is also where you can pass other options, for example: | |
prettier_options: --check frontend/src/assets/translations/*.json | |
prettier_plugins: prettier-plugin-sort-json | |
dry: true |