This repository was archived by the owner on Jan 13, 2025. It is now read-only.
feat: Banner on AI search in our docs #505
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: | |
pull_request: | |
branches: [ '*' ] | |
push: | |
branches: [ '*' ] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
# Install dependencies without frozen lockfile | |
- name: Install dependencies | |
run: pnpm install --no-frozen-lockfile | |
# Add Husky installation | |
- name: Setup Husky | |
run: pnpm run prepare | |
- name: Lint and Type Check | |
run: | | |
pnpm run -r lint | |
pnpm run -r typecheck |