-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (43 loc) · 1.04 KB
/
pull-request.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
name: pull-request
on:
pull_request:
jobs:
lint:
name: eslint & prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup pnpm
uses: ./.github/workflows/actions/setup-pnpm
- name: eslint
run: pnpm eslint
- name: pettier
run: pnpm prettier
type-check:
name: type check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup pnpm
uses: ./.github/workflows/actions/setup-pnpm
- name: type-check
run: pnpm run type-check
tests:
name: tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup pnpm
uses: ./.github/workflows/actions/setup-pnpm
- name: tests
run: pnpm test
- name: integration tests
run: npm run test:integration:ci
markdown:
name: markdown lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DavidAnson/markdownlint-cli2-action@v16
with:
globs: '**/*.md'