Update of vocabulary files #63
Workflow file for this run
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: Lint VC Vocabulary | |
on: | |
pull_request: | |
paths: | |
- 'vocab/security/vocabulary.yml' | |
- 'vocab/security/template.html' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup environment | |
uses: actions/checkout/@v3 | |
- name: Setup Node 16 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Lint Security Vocabulary | |
run: | | |
npm install yml2vocab | |
npm update yml2vocab | |
./node_modules/.bin/yml2vocab -v vocab/security/vocabulary.yml -t vocab/security/template.html |