Skip to content

Merge pull request #25 from hypercerts-org/feat/geojson_support_metadata #17

Merge pull request #25 from hypercerts-org/feat/geojson_support_metadata

Merge pull request #25 from hypercerts-org/feat/geojson_support_metadata #17

Triggered via push January 26, 2025 21:50
Status Failure
Total duration 1m 38s
Artifacts
Build and test
42s
Build and test
Semantic Release
39s
Semantic Release
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
Semantic Release: src/utils/formatter.ts#L114
Type '{ [k: string]: unknown; trait_type: string; value?: string | undefined; }[]' is not assignable to type '({ trait_type: string; value: string; } | { trait_type: string; type: string; src: string; name: string; })[]'.
Semantic Release: src/utils/formatter.ts#L114
Type '{ [k: string]: unknown; trait_type: string; value?: string | undefined; }[]' is not assignable to type '({ trait_type: string; value: string; } | { trait_type: string; type: string; src: string; name: string; })[]'.
Semantic Release
ExecaError: Command failed with exit code 1: npm publish /home/runner/work/hypercerts-sdk/hypercerts-sdk --userconfig /tmp/128fd66916bb1c3a589080485540edc0/.npmrc --tag develop --registry 'https://registry.npmjs.org/' src/index.ts → dist/esm, dist/cjs... created dist/esm, dist/cjs in 365ms src/index.ts → dist/index.d.ts... src/utils/formatter.ts(114,5): error TS2322: Type '{ [k: string]: unknown; trait_type: string; value?: string | undefined; }[]' is not assignable to type '({ trait_type: string; value: string; } | { trait_type: string; type: string; src: string; name: string; })[]'. Type '{ [k: string]: unknown; trait_type: string; value?: string | undefined; }' is not assignable to type '{ trait_type: string; value: string; } | { trait_type: string; type: string; src: string; name: string; }'. Type '{ [k: string]: unknown; trait_type: string; value?: string | undefined; }' is missing the following properties from type '{ trait_type: string; type: string; src: string; name: string; }': type, src, name [!] (plugin dts) RollupError: Failed to compile. Check the logs above. src/utils/formatter.ts at error (/home/runner/work/hypercerts-sdk/hypercerts-sdk/node_modules/.pnpm/rollup@3.29.5/node_modules/rollup/dist/shared/rollup.js:353:30) at Object.error (/home/runner/work/hypercerts-sdk/hypercerts-sdk/node_modules/.pnpm/rollup@3.29.5/node_modules/rollup/dist/shared/rollup.js:1721:20) at Object.error (/home/runner/work/hypercerts-sdk/hypercerts-sdk/node_modules/.pnpm/rollup@3.29.5/node_modules/rollup/dist/shared/rollup.js:25627:42) at generateDtsFromTs (file:///home/runner/work/hypercerts-sdk/hypercerts-sdk/node_modules/.pnpm/rollup-plugin-dts@6.1.1_rollup@3.29.5_typescript@5.4.5/node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.mjs:1834:30) at Object.transform (file:///home/runner/work/hypercerts-sdk/hypercerts-sdk/node_modules/.pnpm/rollup-plugin-dts@6.1.1_rollup@3.29.5_typescript@5.4.5/node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.mjs:1843:38) at /home/runner/work/hypercerts-sdk/hypercerts-sdk/node_modules/.pnpm/rollup@3.29.5/node_modules/rollup/dist/shared/rollup.js:1914:40 npm error code 1 npm error path /home/runner/work/hypercerts-sdk/hypercerts-sdk npm error command failed npm error command sh -c pnpm build npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2025-01-26T21_51_53_080Z-debug-0.log > @hypercerts-org/sdk@2.5.0-beta.1 prepack > pnpm build > @hypercerts-org/sdk@2.5.0-beta.1 prebuild /home/runner/work/hypercerts-sdk/hypercerts-sdk > pnpm clean > @hypercerts-org/sdk@2.5.0-beta.1 clean /home/runner/work/hypercerts-sdk/hypercerts-sdk > rm -rf ./dist > @hypercerts-org/sdk@2.5.0-beta.1 build /home/runner/work/hypercerts-sdk/hypercerts-sdk > pnpm types:json && pnpm codegen:api && rollup -c > @hypercerts-org/sdk@2.5.0-beta.1 types:json /home/runner/work/hypercerts-sdk/hypercerts-sdk > pnpm json2ts -i './src/resources/schema/' -o 'src/types' --cwd './src/resources/schema' > @hypercerts-org/sdk@2.5.0-beta.1 codegen:api /home/runner/work/hypercerts-sdk/hypercerts-sdk > npx orval --input ./lib/hypercerts-api/src/__generated__/swagger.json --output ./src/__generated__/api.ts 🍻 Start orval v6.31.0 - A swagger client generator for typescript ⚠️ ResolverError: Error opening file "/home/runner/work/hypercerts-sdk/hypercerts-sdk/lib/hypercerts-api/src/__generated__/swagger.json" ENOENT: no such file or directory, open '/home/runner/work/hypercerts-sdk/hypercerts-sdk/lib/hypercerts-api/src/__generated__/swagger.json' 🛑 Error: ENOENT: no such file or directory, open '/home/runner/work/hypercerts-sdk/hypercerts-sdk/lib/hypercerts-api/src/__generated__/swagger.json' \u2009ELIFECYCLE\u2009 Command failed with exit code 1.
Build and test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Semantic Release
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636