-
Notifications
You must be signed in to change notification settings - Fork 5
45 lines (45 loc) · 1.19 KB
/
ci.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
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
name: Lint and typecheck
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install Tools & Dependencies
uses: ./.github/actions/install
- name: Check `*.astro` types
run: pnpm check:astro
- name: Check `*.ts` types
run: pnpm check:ts
- name: Lint astro and ts
run: pnpm lint
- name: Check formatting
run: pnpm format:check
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install Tools & Dependencies
uses: ./.github/actions/install
- name: Test
run: pnpm test
build-docs:
name: Smoke-Test Docs Site
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install Tools & Dependencies
uses: ./.github/actions/install
- name: Build the docs
run: pnpm build