Skip to content

Update ship.receipt.schema.json #51

Update ship.receipt.schema.json

Update ship.receipt.schema.json #51

Workflow file for this run

name: Validate Schemas
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Cancel older runs of the same branch/PR
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
validate:
name: validate # if branch protection expects a specific name, set it here
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Validate schemas
run: npm run validate:schemas
- name: Validate examples
run: npm run validate:examples