-
-
Notifications
You must be signed in to change notification settings - Fork 6
45 lines (39 loc) · 1.06 KB
/
ci.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
name: CI
on:
push:
branches:
- main
merge_group:
types: [checks_requested]
pull_request:
types:
- opened
- synchronize
branches:
- "*"
- "!renovate/web"
jobs:
validate:
name: ${{ matrix.task.name }}
timeout-minutes: 15
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
task:
- name: Check Build
run: pnpm run ci
- name: Check Formatting
run: biome ci .
- name: Run Tests
run: pnpm run test
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Setup Biome
if: ${{ matrix.task.run == 'biome ci .' }}
uses: biomejs/setup-biome@v2
- name: ${{ matrix.task.name }}
run: ${{ matrix.task.run }}