-
Notifications
You must be signed in to change notification settings - Fork 3
34 lines (34 loc) · 924 Bytes
/
static_check.yml
File metadata and controls
34 lines (34 loc) · 924 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
name: Static checks
on:
pull_request:
jobs:
types_and_lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.SUBMODULES_TOKEN }}
submodules: recursive
- name: init and update submodules
run: git submodule update --init --recursive
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Use corepack
run: corepack enable
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Run prepare
run: scripts/prepare.sh
- name: Install node dependencies
run: yarn --immutable
- name: Spellcheck
run: yarn spellcheck
- name: Check formatting
run: yarn format:check
- name: Check types
run: yarn typecheck
- name: Check build
run: yarn build