Enable linting with type information. #2
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: Check linting and formatting | |
on: push | |
jobs: | |
check-linting-and-formatting: | |
name: Check linting and formatting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: npm | |
- run: | | |
npm install | |
- run: | | |
npm run lint | |
- run: | | |
npm run format-check |