Skip to content

add a schema for a Documents file (paths only) to be included in OCF #550

add a schema for a Documents file (paths only) to be included in OCF

add a schema for a Documents file (paths only) to be included in OCF #550

name: Check Example OCF Files
on:
push:
branches:
- main
pull_request:
jobs:
check-example-ocf-files:
name: Check Example OCF Files
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Node.js
uses: actions/[email protected]
with:
node-version-file: ".nvmrc"
cache: "npm"
- name: Install Dependencies
run: npm install
- name: Ensure Examples Exist for each Object Type
run: npm run schema:validate-all-objects-have-samples
- name: Run Validation Script
run: npm run schema:validate-example-ocf-files