feat(release): semantic-release automation and 0.2.0 changelog #17
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
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| verify: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| registry-url: https://registry.npmjs.org | |
| package-manager-cache: false | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: Cache pnpm store | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.local/share/pnpm/store | |
| key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pnpm- | |
| - name: Install system test dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y expect zsh | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Lint and typecheck | |
| run: bun lint | |
| - name: Test | |
| run: bun test | |
| - name: Build | |
| run: bun run build | |
| - name: Audit dependencies | |
| run: pnpm audit --audit-level=moderate | |
| - name: Check npm package contents | |
| run: npm pack --dry-run --json |