-
Notifications
You must be signed in to change notification settings - Fork 126
39 lines (38 loc) · 1.08 KB
/
build.yml
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
name: build
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22]
steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"
fetch-depth: 10
- uses: actions/setup-node@v4
with:
node-version: "${{ matrix.node-version }}"
cache: yarn
- run: yarn install --frozen-lockfile
- name: typecheck
run: yarn typecheck
- name: compile
run: yarn compile
- name: compile system scripts
run: yarn test:system
- name: compile tests
run: yarn test:compile
- name: core tests
run: yarn test:core
- name: unit tests
run: yarn test:samples
- name: docs
run: yarn build:docs
- name: package vscode
run: yarn package