Skip to content

Merge pull request #1952 from qf3l3k/main #174

Merge pull request #1952 from qf3l3k/main

Merge pull request #1952 from qf3l3k/main #174

Workflow file for this run

name: Lint JSON Files
on:
workflow_dispatch:
push:
branches:
- main
pull_request_target:
types:
- opened
- edited
branches:
- main
paths:
- '**.json'
jobs:
validate-config:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install jsonlint
run: npm install -g @prantlf/jsonlint
- name: Lint JSON files
run: |
jsonlint ./ -q