skillhub/.github/workflows/pr-cli.yml
D41910 db6308adde fix(web): align namespace slug validation with SlugValidator
The create-namespace dialog validates slugs client-side before sending
the request, and its pattern was still ASCII-only. SlugValidator has
accepted Unicode letters, numbers and symbols since #196, so the form
rejected slugs the server accepts.

Signed-off-by: D41910 <158550716+D41910@users.noreply.github.com>
2026-10-15 01:22:38 +08:00

38 lines
854 B
YAML

name: PR CLI
on:
pull_request:
paths:
- 'cli/**'
- 'Makefile'
- '.github/workflows/pr-cli.yml'
permissions:
contents: read
jobs:
cli:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.13
- run: bun install --frozen-lockfile
working-directory: cli
- run: bun run lint
working-directory: cli
- run: bun run typecheck
working-directory: cli
- run: bun test
working-directory: cli
- run: bun run build
working-directory: cli
- run: node dist/index.js version
working-directory: cli