Generate YAML editor schema from Plotly metadata #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |