Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,18 @@ jobs:
- name: Test protocol package
run: bun run test --filter @cossistant/protocol

# The SDK regression suites pin the provider lifecycle, data-hook and
# embed behaviour. They are the safety net for the published packages, so
# they gate merges rather than relying on a local `bun test` run.
- name: Test SDK packages
run: >-
bun run test
--filter @cossistant/react
--filter @cossistant/core
--filter @cossistant/types
--filter @cossistant/next
--filter @cossistant/browser

- name: Test REST OpenAPI contract
# Run this file on its own: bun's mock.module registrations are global to
# the test process, so partial factories in other files leak across a
Expand Down
6 changes: 3 additions & 3 deletions packages/protocol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
"generate:openapi": "bun run scripts/generate-openapi.ts",
"check:openapi": "bun run scripts/generate-openapi.ts --check",
"prepare-package": "bun ../../scripts/prepare-package.ts",
"pub:release": "bun run build && npm publish --access public",
"pub:beta": "bun run build && npm publish --access public --tag beta --no-git-checks",
"pub:next": "bun run build && npm publish --access public --tag next --no-git-checks",
"pub:release": "bun run build && npm publish ./dist --access public",
"pub:beta": "bun run build && npm publish ./dist --access public --tag beta --no-git-checks",
"pub:next": "bun run build && npm publish ./dist --access public --tag next --no-git-checks",
"lint": "biome check .",
"test": "bun test src",
"check-types": "tsc --noEmit --project tsconfig.json"
Expand Down
Loading