Reviewed-on: #1 Co-authored-by: Timo Behrendt <t.behrendt@t00n.de> Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
26 lines
588 B
YAML
26 lines
588 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
test:
|
|
name: Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- uses: oven-sh/setup-bun@v2
|
|
with:
|
|
bun-version-file: ".bun-version"
|
|
# only required for cspell compatibility until a mature replacement is available
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
- run: bun install --frozen-lockfile
|
|
- name: Run lint
|
|
run: bun run check:code
|
|
- name: Run spellcheck
|
|
run: bun run check:spell
|