forked from sharevb/it-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (29 loc) · 824 Bytes
/
Copy pathsharevb-ci.yml
File metadata and controls
37 lines (29 loc) · 824 Bytes
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
name: ci
on:
pull_request:
push:
branches:
- chore/all-my-stuffs
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7.0.0
- name: Setup pnpm and install dependencies
uses: pnpm/setup@v2.0.2
with:
cache: true
- name: Check formatting
# Reported but not enforced: 832 of 1613 files predate oxfmt being run
# in CI, so this fails today. Kept visible so the drift stays tracked
# until a repo-wide reformat lands, then drop continue-on-error.
continue-on-error: true
run: pnpm fmt:check
- name: Run linters
run: pnpm lint
- name: Run unit test
run: pnpm test:unit
- name: Type check
run: pnpm typecheck
- name: Build the app
run: pnpm build