Skip to content

refactor(config): simplify bun build and dev workflows #1419

refactor(config): simplify bun build and dev workflows

refactor(config): simplify bun build and dev workflows #1419

Workflow file for this run

name: Test
on: [push]
jobs:
unit:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
project: [core, web, backend, scripts]
steps:
- name: Check out Git repository
uses: actions/checkout@v6
- name: Install Node.js
uses: actions/setup-node@v6
with:
node-version: 24
- name: Install Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.2.18
- name: Cache Bun dependencies
uses: actions/cache@v5
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('bun.lock') }}
restore-keys: |
${{ runner.os }}-bun-
- name: Install Dependencies
run: |
bun install --frozen-lockfile
- name: Run ${{ matrix.project }} tests
env:
TZ: ${{ vars.TZ }}
run: |
bun run test:${{ matrix.project }}