25 lines
508 B
YAML
25 lines
508 B
YAML
name: Checks
|
|
description: Run lint, type-check, and tests
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Setup Bun
|
|
shell: bash
|
|
run: curl -fsSL https://bun.sh/install | bash && echo "$HOME/.bun/bin" >> "$GITHUB_PATH"
|
|
|
|
- name: Install dependencies
|
|
shell: bash
|
|
run: bun install --frozen-lockfile
|
|
|
|
- name: Lint
|
|
shell: bash
|
|
run: bun run lint
|
|
|
|
- name: Type check
|
|
shell: bash
|
|
run: bun run check
|
|
|
|
- name: Test
|
|
shell: bash
|
|
run: bun run test
|