File tree Expand file tree Collapse file tree 1 file changed +77
-0
lines changed Expand file tree Collapse file tree 1 file changed +77
-0
lines changed Original file line number Diff line number Diff line change 1+ name : 🛠️ Build
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ - dev
8+ pull_request :
9+
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ github.ref }}
12+ cancel-in-progress : true
13+
14+ permissions :
15+ actions : write
16+ contents : read
17+
18+ jobs :
19+ lint :
20+ name : ⬣ ESLint
21+ runs-on : ubuntu-latest
22+ steps :
23+ - name : ⬇️ Checkout repo
24+ uses : actions/checkout@v4
25+
26+ - name : ⎔ Setup node
27+ uses : actions/setup-node@v4
28+ with :
29+ cache : yarn
30+ cache-dependency-path : ./yarn.lock
31+ node-version : 20
32+
33+ - name : 📥 Install deps
34+ run : yarn
35+
36+ - name : 🔬 Lint
37+ run : yarn lint
38+
39+ typecheck :
40+ name : ʦ TypeScript
41+ runs-on : ubuntu-latest
42+ steps :
43+ - name : ⬇️ Checkout repo
44+ uses : actions/checkout@v4
45+
46+ - name : ⎔ Setup node
47+ uses : actions/setup-node@v4
48+ with :
49+ cache : yarn
50+ cache-dependency-path : ./yarn.lock
51+ node-version : 20
52+
53+ - name : 📥 Install deps
54+ run : yarn
55+
56+ - name : 🔎 Type check
57+ run : yarn typecheck
58+
59+ vitest :
60+ name : ⚡ Vitest
61+ runs-on : ubuntu-latest
62+ steps :
63+ - name : ⬇️ Checkout repo
64+ uses : actions/checkout@v4
65+
66+ - name : ⎔ Setup node
67+ uses : actions/setup-node@v4
68+ with :
69+ cache : yarn
70+ cache-dependency-path : ./yarn.lock
71+ node-version : 20
72+
73+ - name : 📥 Install deps
74+ run : yarn
75+
76+ - name : ⚡ Run vitest
77+ run : yarn test --coverage
You can’t perform that action at this time.
0 commit comments