Skip to content

Merge pull request #365 from komoechan/add-trae-instructions #2

Merge pull request #365 from komoechan/add-trae-instructions

Merge pull request #365 from komoechan/add-trae-instructions #2

Workflow file for this run

name: Build Check
on:
push:
branches: [master]
pull_request:
branches: [master]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
restore-keys: |
${{ runner.os }}-bun-
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run linter
run: bun run lint:check
- name: Check formatting
run: bun run format --check
- name: Build project
run: bun run build