Skip to content

Add pages for OAD examples #7

Add pages for OAD examples

Add pages for OAD examples #7

Workflow file for this run

name: examples-test
# Author: @MikeRalphson / runs @jdesrosiers tests
# Issue: https://github.com/OAI/OpenAPI-Specification/pull/2489
#
# This workflow runs the npm test script to validate passing and failing
# testcases for the metaschema.
#
# run this on push to any branch and creation of pull-requests
on:
push:
paths:
- 'examples/**'
pull_request:
paths:
- 'examples/**'
workflow_dispatch: {}
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4 # checkout repo content
with:
fetch-depth: 0
- uses: actions/setup-node@v4 # setup Node.js
with:
node-version: '20.x'
- name: Install dependencies from main
run: npm ci
- name: Run tests
run: npm run test