docs(cli): init readme #547
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
| name: CI | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| check: | |
| name: Check code | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Access repo | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - name: Set up pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| run_install: false | |
| package_json_file: package.json | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Analyze code | |
| run: pnpm exec biome ci . | |
| - name: Check manifest sorting | |
| run: pnpm run sort-manifests --check | |
| - name: Check spelling | |
| run: pnpm exec cspell --dot . | |
| test: | |
| name: Run tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Access repo | |
| uses: actions/checkout@v4 | |
| - name: Set up pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| run_install: false | |
| package_json_file: package.json | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Run tests | |
| run: pnpm run test |