Skip to content

ci: add prettier to json files #37

ci: add prettier to json files

ci: add prettier to json files #37

Workflow file for this run

---
name: prettier
# yamllint disable-line rule:truthy
on:
push:
branches:
- master
paths:
- '**/*.css'
- '**/*.json'
- '.config/OpenRGB/plugins/settings/**/*'
- '.config/waybar/config'
- '**/*.html'
pull_request:
branches:
- master
paths:
- '**/*.css'
- '**/*.json'
- '.config/OpenRGB/plugins/settings/*'
- '.config/waybar/config'
- '**/*.html'
jobs:
format_check:
name: Check CSS/json/etc files with prettier
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run prettier
uses: creyD/prettier_action@v4.3
with:
dry: true
prettier_options: >
"**/{*.css,*.json}" ".config/OpenRGB/plugins/settings/**/*" ".config/waybar/config" --check