-
-
Notifications
You must be signed in to change notification settings - Fork 435
30 lines (27 loc) · 740 Bytes
/
Copy pathmain.yml
File metadata and controls
30 lines (27 loc) · 740 Bytes
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
name: Builds, tests & co
on:
- push
- pull_request
permissions: read-all
jobs:
build-and-test:
strategy:
fail-fast: false
matrix:
node-version: [25, 24, 22, 20]
runs-on: ubuntu-latest
steps:
- name: Checkout tree
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Set-up Mise
uses: jdx/mise-action@dad1bfd3df957f44999b559dd69dc1671cb4e9ea # v4.2.1.6.4.2.1
with:
cache: false
mise_toml: |
[tools]
bun = "latest"
node = "${{ matrix.node-version }}"
- run: bun install --frozen-lockfile
- run: bun run format:check
- run: bun run build
- run: bun run test