mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-07-27 04:31:57 +00:00
33 lines
625 B
YAML
33 lines
625 B
YAML
name: Lint
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main, dev]
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: hanzo-build-linux-amd64
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- uses: pnpm/action-setup@v4
|
|
|
|
- name: Install Node.js
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version: 24
|
|
cache: 'pnpm'
|
|
|
|
- name: Install Dependencies
|
|
run: pnpm i --frozen-lockfile
|
|
|
|
- name: Lint Format
|
|
run: pnpm lint:format
|
|
|
|
- name: Check Types
|
|
run: pnpm build --filter=./packages/* && pnpm i --frozen-lockfile && pnpm types:check
|
|
|
|
- name: Run ESLint
|
|
run: pnpm lint
|