-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (29 loc) · 805 Bytes
/
ci.yml
File metadata and controls
39 lines (29 loc) · 805 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
name: CI
on:
push:
branches: [main]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install asdf-managed tools
uses: asdf-vm/actions/install@v4
- name: Install dependencies
run: npm ci
# @cfp/shared's exports map points at dist/. Build it first so type-check,
# lint, and test can resolve `@cfp/shared` / `@cfp/shared/schemas`.
- name: Build @cfp/shared
run: npm run -w packages/shared build
- name: Type check
run: npm run type-check
- name: Lint
run: npm run lint
- name: Test
run: npm test
- name: Build
run: npm run build