-
-
Notifications
You must be signed in to change notification settings - Fork 108
31 lines (28 loc) · 645 Bytes
/
Copy pathlint.yml
File metadata and controls
31 lines (28 loc) · 645 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Lint
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
with:
submodules: recursive
- uses: pnpm/action-setup@v4.0.0
- name: Use Node.js LTS
uses: actions/setup-node@v3
with:
node-version: 22
cache: "pnpm"
- name: Install packages
run: pnpm install
- name: Typecheck
run: pnpm typecheck
- name: Code Formatting
run: pnpm fmt:check
- name: Lint
run: pnpm lint