V6 (Chakra UI V3) #387
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: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js v20.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "npm" | |
- name: Install Dependencies | |
run: npm ci | |
- name: Lint code | |
run: npm run lint:src | |
- name: Lint types | |
run: npm run lint:types | |
- name: Build and lint exports | |
run: npm run build && npm run lint:exports |