Skip to content

fix(deps): bump the actions group across 1 directory with 4 updates #20

fix(deps): bump the actions group across 1 directory with 4 updates

fix(deps): bump the actions group across 1 directory with 4 updates #20

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
check:
name: Lint & Typecheck
runs-on: ubuntu-latest
if: ${{ github.event_name != 'pull_request' || !startsWith(github.head_ref, 'release-please') }}
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run Oxlint
run: bun run lint
- name: Check formatting
run: bun run format
- name: Type check
run: bun run typecheck
build:
name: Build Library
runs-on: ubuntu-latest
needs: check
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build library
run: bun run build
- name: Upload build artifacts
uses: actions/upload-artifact@v7
with:
name: dist
path: dist/
retention-days: 7