- dependabot ignore for npm does NOT support wildcards (only groups.patterns does). The '@tsparticles/*' rule was silently ignored -> v4 bumps kept landing. Replace with exact scoped names. - bump actions/checkout v5->v7 (closes dependabot PR #5); the CI failure on that PR was a stale-branch format-check, not checkout v7. Open @tsparticles PRs now closed (#9 already closed earlier).
43 lines
756 B
YAML
43 lines
756 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
concurrency:
|
|
group: ci-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
quality:
|
|
name: lint + typecheck + test + build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v7
|
|
|
|
- name: Set up Bun
|
|
uses: oven-sh/setup-bun@v2
|
|
with:
|
|
bun-version: "1.3.14"
|
|
|
|
- name: Install dependencies
|
|
run: bun install --frozen-lockfile
|
|
|
|
- name: Lint
|
|
run: bun run lint
|
|
|
|
- name: Typecheck
|
|
run: bun run typecheck
|
|
|
|
- name: Unit tests
|
|
run: bun run test
|
|
|
|
- name: Build
|
|
run: bun run build
|
|
|
|
- name: Format check
|
|
run: bun run format:check
|