mirror of
https://github.com/hanzoai/trpc-openapi.git
synced 2026-10-30 18:18:55 +00:00
node.js.yml becomes a hanzo.yml `test:`. `pnpm run build` type-checks and runs jest before it emits, so one command covers what the matrix did; it runs on the fleet's Node 22 rather than 20/22/24, so multi-version coverage is lost. Both workflows triggered on `master`, and this repo's only trunk is `main` — so neither has fired for some time. npm-publish.yml is dropped rather than moved: .npmrc points the registry at pkg.hanzo.ai while the workflow authenticated against npmjs, and no credential for either is declared on this repo or the hanzoai org. pkg.hanzo.ai carries 0.0.5 against 0.0.17 here, which is the gap that lane was meant to close. Publishing is manual until a token exists.
14 lines
525 B
YAML
14 lines
525 B
YAML
# tRPC -> OpenAPI adapter. `pnpm run build` type-checks and runs jest before it
|
|
# emits, so the one command is both the test and the build.
|
|
#
|
|
# No publish lane: .npmrc points the registry at pkg.hanzo.ai, and no credential
|
|
# for it — or for npmjs — is declared on this repo or the hanzoai org, so a
|
|
# publish step here would be a stub that cannot push. Releases are manual until
|
|
# a token exists.
|
|
test:
|
|
- name: build-and-test
|
|
run: |
|
|
set -euo pipefail
|
|
pnpm install --frozen-lockfile
|
|
pnpm run build
|