Skip to content

Build & Test Workflow #102

Build & Test Workflow

Build & Test Workflow #102

Workflow file for this run

name: Build & Test Workflow
# - uses: oven-sh/setup-bun@v1
# with:
# bun-version: latest
on:
push:
branches: [ main, develop ]
tags-ignore: [ v* ]
pull_request:
branches: [ main, develop ]
schedule:
# Runs every day at midnight, to ensure any new versions of Bun don't break the build.
- cron: '0 0 * * *'
jobs:
build:
name: Build Codebase
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout Codebase
- uses: oven-sh/setup-bun@v1
name: Setup Bun
with:
bun-version: v1.0.7
- name: Install Dependencies
run: bun install
- name: Build Codebase
run: bun run build
- name: Test Codebase
run: bun test --coverage