-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (37 loc) · 1 KB
/
quality-assurance.yml
File metadata and controls
49 lines (37 loc) · 1 KB
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
name: Quality Assurance
on:
push:
jobs:
static-test:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v4
- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: TypeScript Compiler
run: bun run compile
- name: Biome Lint + Format
run: bun run check
- name: Assuring build is working
run: bun run build
- name: Validate current commit (last commit)
if: github.event_name == 'push'
run: bun commitlint --last --verbose
unit-test:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v4
- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Unit Test Suite
run: bun test