Skip to content

CI

CI #56

Workflow file for this run

name: CI
on:
push:
branches:
- '**'
pull_request:
schedule:
- cron: '0 0 * * 0'
permissions:
contents: read
jobs:
test-bun:
name: Test with Bun ${{ matrix.bun-version }}
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
bun-version:
- 1.2
- 1.3
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: ${{ matrix.bun-version }}
- name: Install dependencies
run: bun install
- name: Check format
run: bun run format:check
- name: Compile project
run: bun compile
- name: Run tests
run: bun test
- name: Run tests with Hono framework
run: USE_HONO=1 bun test