-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (39 loc) · 853 Bytes
/
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
name: CI Build
on:
# Runs on pushes targeting the default branch
push:
branches:
- "**"
# - main
# - master
# - trunk
tags:
- "!**"
# Run every time a PR is updated
pull_request:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
fail-fast: false
steps:
- id: checkout
name: Checkout
uses: actions/checkout@v4
- id: setup-bun
name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- id: install-deps
name: Install dependencies
run: |
bun install --frozen-lockfile
- id: test
name: Run tests
run: |
bun test