Run frontmatter-validatior as part of make-run #40
This file contains 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: Validate frontmatters | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [synchronize, opened] | |
push: | |
branches: [main] | |
jobs: | |
validate-frontmatters: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run validator | |
working-directory: tools/frontmatter-validator | |
run: | | |
npm ci | |
node index.js |