26 lines
725 B
YAML
26 lines
725 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
test:
|
|
name: Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
|
|
with:
|
|
bun-version-file: ".bun-version"
|
|
# only required for cspell compatibility until a mature replacement is available
|
|
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
|
|
with:
|
|
node-version: 24
|
|
- run: bun install --frozen-lockfile
|
|
- name: Run lint
|
|
run: bun run check:code
|
|
- name: Run spellcheck
|
|
run: bun run check:spell
|