mirror of
https://github.com/System-End/YSWS-Catalog.git
synced 2026-04-19 19:55:07 +00:00
29 lines
No EOL
556 B
YAML
29 lines
No EOL
556 B
YAML
name: json-yaml-validate
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
json-yaml-validate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install Dependencies
|
|
run: npm install
|
|
|
|
- name: json-yaml-validate
|
|
id: json-yaml-validate
|
|
uses: GrantBirki/json-yaml-validate@v3.2.1
|
|
with:
|
|
comment: "true"
|
|
|
|
- name: Validate Dates in data.yml
|
|
run: node validateDates.js |