Update rest-api-spec main #4026
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: Linter | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- 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 | |