fix: update build script to use cjs for bundling #169
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: Run Checks | |
| on: | |
| pull_request: | |
| branches: | |
| - '**' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Setup Homebrew | |
| uses: Homebrew/actions/setup-homebrew@main | |
| - name: Setup Clang | |
| uses: tecolicom/actions-use-homebrew-tools@v1 | |
| with: | |
| tools: clang-format | |
| cache: yes | |
| - name: Link clang-format | |
| run: | | |
| brew link --overwrite --force clang-format >/dev/null | |
| export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH" | |
| clang-format --version | |
| - name: Set up Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install | |
| run: bun install --frozen-lockfile | |
| - name: Linting | |
| run: bun run lint | |
| - name: Tests | |
| run: bun run test:coverage |