This repository has been archived by the owner on Jan 9, 2024. It is now read-only.
Update README.md #391
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 | |
on: | |
push: | |
pull_request: | |
jobs: | |
eslint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: npm install, build, and lint | |
run: | | |
npm install | |
npm run build --if-present | |
npm run-script lint | |
npm run-script lint:typings |