Skip to content

Generate YAML editor schema from Plotly metadata #1

Generate YAML editor schema from Plotly metadata

Generate YAML editor schema from Plotly metadata #1

Workflow file for this run

name: YAML editor
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: |
package-lock.json
yaml-editor/package-lock.json
- run: npm ci
- run: npm ci
working-directory: yaml-editor
- run: npm run tsc
- run: npm test
working-directory: yaml-editor
- run: npm run build
working-directory: yaml-editor
- run: git diff --exit-code -- yaml-editor/src/schema.json