API specification changes for custom roles #2796
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: Linter | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 16.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.x | |
- name: Install | |
run: | | |
npm install --prefix compiler | |
npm install --prefix typescript-generator | |
- name: Lint specification | |
run: | | |
npm run lint --prefix compiler | |
- name: Lint typescript-generator | |
run: | | |
npm run lint --prefix typescript-generator | |