build(deps): bump wagoid/commitlint-github-action from f133a0d95090ef2609192b4a21f54e20af819ea9 to b948419dd99f3fd78a6548d48f94e3df7f6bf3ed in the github-actions group #96
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # CI: Build & Test | |
| # | |
| # Purpose: | |
| # - Run repository checks: setup, install, test, and build. | |
| # - Ensure a minimal, reproducible environment for quick CI feedback. | |
| # | |
| # Triggers: | |
| # - push, pull_request, workflow_dispatch | |
| # | |
| # Security & reproducibility notes: | |
| # - Use least-privilege permissions (contents: read) and pin action versions where appropriate. | |
| # - Use local caches to speed builds and reduce external load. | |
| name: "CI: Build & Test" | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - "**" # Listen to pushes on all branches | |
| tags-ignore: | |
| - "**" # Ignore tag pushes | |
| workflow_dispatch: | |
| # Use concurrency to deduplicate runs. | |
| # - For pull requests: group by `pr-<number>` so multiple commits to the same PR | |
| # cancel previous runs and only the latest is kept. | |
| # - For direct pushes: fall back to deduplicating by commit SHA so identical | |
| # commits don't trigger multiple concurrent workflows. | |
| # - Include the `github.workflow` name in the group to avoid cross-workflow collisions. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || github.sha }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| name: "Build & Test" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - name: Setup bun | |
| uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 | |
| - name: Install project | |
| run: | | |
| bun install --frozen-lockfile --ignore-scripts | |
| - name: Run tests | |
| run: bun run test | |
| - name: Build project | |
| run: bun run build |