Skip to content

Modernize toolchain: bun, node:test, Biome + rumdl + lefthook #3

Modernize toolchain: bun, node:test, Biome + rumdl + lefthook

Modernize toolchain: bun, node:test, Biome + rumdl + lefthook #3

Workflow file for this run

name: Pull Request Linting
on: pull_request
env:
CI: true
jobs:
pr_lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Use Bun.sh
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.4.2
- name: Use Node.js 26 (node:test runtime)
uses: actions/setup-node@v7
with:
node-version: 26
- name: Cache bun install cache
uses: actions/cache@v6
with:
path: '~/.bun/install/cache'
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
- name: Install
run: bun install --frozen-lockfile
- name: Lint code
run: bun run lint
- name: Test code
run: bun run test