Repository navigation
Modernize toolchain: bun, node:test, Biome + rumdl + lefthook #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |