-
Notifications
You must be signed in to change notification settings - Fork 0
91 lines (68 loc) · 1.9 KB
/
caffemocha.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
name: Iroiro na Test
on:
push:
jobs:
lint:
name: Linting Test
runs-on: ubuntu-latest
steps:
- name: actions/checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
id: pnpm-install
- name: Setup pnpm
uses: pnpm/action-setup@v2
- name: Setup node with cache
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: pnpm
- name: Install Dependencies
run: pnpm install
- name: ESLint & Prettier Check
run: pnpm lint
- name: CRLF Phobia
run: npx crlf-phobia *
docs:
name: Docs Gen Test
runs-on: ubuntu-latest
steps:
- name: actions/checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
- name: Setup node with cache
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: pnpm
- name: Install Dependencies
run: pnpm install
- name: Generating Documents Test
run: pnpm run docs
caffe-mocha:
name: Caffe Mocha Test
runs-on: ubuntu-latest
env:
FORCE_COLOR: 2
steps:
- name: actions/checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
- name: Setup node with cache
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: pnpm
- name: Install Dependencies
run: pnpm install
- name: Build all Package
run: pnpm turbo run --filter=cocoa-discord build
- name: Mocha Test, Actually it is now Jest, and just switched to Vitest
run: pnpm --filter=cocoa-discord test:coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
directory: ./packages/cocoa-discord/coverage