build(deps-dev): bump the development-dependencies group across 1 directory with 13 updates #43
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: Check Package | |
| on: | |
| workflow_call: | |
| pull_request: | |
| jobs: | |
| build: | |
| name: Build package | |
| uses: ./.github/workflows/build.yml | |
| check_format: | |
| name: Check formatting | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v5 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| - name: Install dependencies | |
| run: bun install | |
| - name: Run formatting check | |
| run: bun run format:check | |
| check_types: | |
| name: Check types | |
| needs: build | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v5 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| - name: Install dependencies | |
| run: bun install | |
| - name: Download package build | |
| uses: actions/download-artifact@v5 | |
| with: | |
| name: dist@${{ github.sha }} | |
| path: dist | |
| - name: Run types check | |
| run: bun run type-check | |
| lint: | |
| name: Lint code | |
| needs: build | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v5 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Download package build | |
| uses: actions/download-artifact@v5 | |
| with: | |
| name: dist@${{ github.sha }} | |
| path: dist | |
| - name: Run linter | |
| run: bun run lint | |
| test: | |
| name: Test package | |
| needs: build | |
| runs-on: ubuntu-24.04-arm | |
| strategy: | |
| matrix: | |
| runtime: | |
| - node | |
| - bun | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v5 | |
| - name: Setup Node.js | |
| if: matrix.runtime == 'node' | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version-file: .node-version | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| - name: Install dependencies | |
| run: bun install | |
| - name: Download package build | |
| uses: actions/download-artifact@v5 | |
| with: | |
| name: dist@${{ github.sha }} | |
| path: dist | |
| - name: Run tests on Bun | |
| if: matrix.runtime == 'bun' | |
| run: bun run test:bun | |
| - name: Run tests on Node.js | |
| if: matrix.runtime == 'node' | |
| run: node --run test:node |