mirror of
https://github.com/jlengrand/coffeechat.git
synced 2026-03-10 08:11:20 +00:00
26 lines
525 B
YAML
26 lines
525 B
YAML
name: Validate people.json
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
push:
|
|
paths:
|
|
- 'people.json'
|
|
|
|
jobs:
|
|
validate-json:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout this repository
|
|
uses: actions/checkout@v4.1.0
|
|
|
|
- name: Setting up Node.js
|
|
uses: actions/setup-node@v4.0.2
|
|
with:
|
|
node-version: 'v20.12.2'
|
|
|
|
- name: Installing eslint-plugin-json
|
|
run: npm i eslint-plugin-json
|
|
|
|
- name: Validate the JSON
|
|
run: npx eslint people.json
|