-
Notifications
You must be signed in to change notification settings - Fork 6
41 lines (41 loc) · 1.12 KB
/
test.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
name: "Test"
on:
push:
workflow_call:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-test-env
- name: Build all packages (so they can require each other)
run: pnpm build
- name: Test
run: pnpm test
- name: Build example package
run: pnpm --filter=blog-example build-vite
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-test-env
- name: Build all packages (so they can require each other)
run: pnpm build
- name: Lint
run: pnpm lint
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-test-env
- name: Build all packages (so they can require each other)
run: pnpm build
- name: Typecheck
run: pnpm typecheck
versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-test-env
- name: Check dependency versions
run: pnpm check-dependency-versions