chat-ui / .github /workflows /lint-and-test.yml
coyotte508's picture
coyotte508 HF staff
👷 Add CI to check types (#161)
da1e5da unverified
raw history blame
No virus
488 Bytes
name: Lint and test
on:
pull_request:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
cache: "npm"
- run: |
npm install ci
- name: "Checking lint/format errors"
run: |
npm run lint
- name: "Checking type errors"
run: |
npm run check