-
Notifications
You must be signed in to change notification settings - Fork 5
46 lines (43 loc) · 1.07 KB
/
ci.yml
File metadata and controls
46 lines (43 loc) · 1.07 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
name: CI
on:
push:
branches: [master]
pull_request:
jobs:
quality:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Biome
uses: biomejs/setup-biome@v2
with:
version: latest
- name: Run Biome
run: biome ci .
type-safe:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
with:
run_install: true # package manager version is in package.json
- name: Run type-checking
run: npm run type-check
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
with:
run_install: true # package manager version is in package.json
- name: Run Build
run: pnpm run build
finish:
name: Finish # DO NOT CHANGE THIS NAME, We have a merge checks depending on this
runs-on: ubuntu-latest
needs: [quality, type-safe, build]
steps:
- name: Run Finish
run: echo "Finish"