-
Notifications
You must be signed in to change notification settings - Fork 1
54 lines (44 loc) · 1.2 KB
/
ci-checks.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: CI Checks
on: push
jobs:
ci-checks:
runs-on: ubuntu-latest
env:
DO_NOT_TRACK: 1
TURBO_TELEMETRY_DISABLED: 1
VERCEL_TELEMETRY_DISABLED: 1
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install pnpm 📦
uses: pnpm/action-setup@v4
# use version from package.json#packageManager field
with:
run_install: false
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "pnpm"
- name: Install Dependencies 📥
run: |
pnpm install
- name: Fmt and Lint Check 🧹
run: |
pnpm run fmt-lint:check
- name: Build 🏗️
run: |
pnpm run build
- name: Typecheck 🔎
run: |
pnpm run typecheck
- name: Test 🧪
run: |
pnpm run test
- name: Diff Docs Routes Codegen 🕵️
run: | # Diff the docs routes codegen
pnpm --filter www run gen:docs-routes
git diff --exit-code