mirror-chatterino2/.github/workflows/lint.yml
nerix 2233b46512
Format YAML and JSON Files With Prettier (#4304)
* ci: format yaml and json files with prettier

* chore: add changelog entry

* fix: format everything

* ci: run pretter on all files

* ci: rename prettier step
2023-01-15 17:27:41 +01:00

26 lines
391 B
YAML

---
name: Lint
on:
push:
branches:
- master
pull_request:
concurrency:
group: lint-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check formatting with Prettier
uses: actionsx/prettier@v2
with:
# prettier CLI arguments.
args: --check .