Skip to content

feat(data): flashing/upload troubleshooting coverage #12

feat(data): flashing/upload troubleshooting coverage

feat(data): flashing/upload troubleshooting coverage #12

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# pnpm version comes from the packageManager field in package.json
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm typecheck
- run: pnpm lint:check
- run: pnpm test
# Fail early if the published tarball would be broken (missing entry
# files, stray exports, etc.)
- name: Verify npm package contents
run: cd packages/xiao-assistant && pnpm pack --dry-run
- name: Lint package exports (publint)
run: cd packages/xiao-assistant && npx --yes publint