Use createAsset function from SDK. #116
Annotations
5 errors and 3 warnings
Run npm run build:
src/commands.ts#L5
Module '"./helpers"' declares 'createAsset' locally, but it is not exported.
|
Run npm run build:
src/publishAsset.ts#L8
Module '"./helpers"' declares 'createAsset' locally, but it is not exported.
|
Run npm run build:
src/publishAsset.ts#L47
Type '{ '@context': string[]; id: string; version: string; chainId: number; nftAddress: string; metadata: { created: string; updated: string; type: "dataset"; name: string; description: string; author: string; license: string; tags: string[]; }; stats: { ...; }; services: { ...; }[]; nft: { ...; }; }' is not assignable to type 'DDO'.
|
Run npm run build
Process completed with exit code 2.
|
docker logs
Process completed with exit code 1.
|
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading