-
Notifications
You must be signed in to change notification settings - Fork 3
41 lines (41 loc) · 870 Bytes
/
main.yaml
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: Main Branch Check
on:
push:
branches:
- main
paths:
- 'src/**/*.*'
- pnpm-lock.yaml
jobs:
eslint:
name: ESLint
runs-on: ubuntu-latest
steps:
- name: Setup
uses: vkbansal/pnpm-setup-action@main
- name: Lint
run: pnpm run lint
typecheck:
name: TypeCheck
runs-on: ubuntu-latest
steps:
- name: Setup
uses: vkbansal/pnpm-setup-action@main
- name: Type Check
run: pnpm run check
spellcheck:
name: SpellCheck
runs-on: ubuntu-latest
steps:
- name: Setup
uses: vkbansal/pnpm-setup-action@main
- name: Spell Check
run: pnpm run spell
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- name: Setup
uses: vkbansal/pnpm-setup-action@main
- name: Prettier
run: pnpm run fmt:c