-
-
Notifications
You must be signed in to change notification settings - Fork 60
42 lines (34 loc) · 783 Bytes
/
Copy pathvalidate.yaml
File metadata and controls
42 lines (34 loc) · 783 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
32
33
34
35
36
37
38
39
40
41
42
name: Validate
on:
pull_request:
branches:
- master
jobs:
typecheck:
runs-on: ubuntu-latest
name: Check TypeScript Types
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
run_install: true
- name: Check types
run: pnpm types
lint-and-format:
runs-on: ubuntu-latest
name: Run Biome Linter and Formatter
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
run_install: true
- name: Setup Biome CLI
uses: biomejs/setup-biome@v2
- name: Run Biome
run: biome ci