Skip to content

IPFSのupload先変更:NFT.Storage → Pinata #247

IPFSのupload先変更:NFT.Storage → Pinata

IPFSのupload先変更:NFT.Storage → Pinata #247

Triggered via pull request May 10, 2024 07:05
Status Failure
Total duration 43s
Artifacts

ci.yml

on: pull_request
Matrix: ci
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
ci (20.x): src/storage/ipfs/upload.ts#L29
Replace `⏎··thumbnailImage:·FileOrPath,⏎··ipfsConfig?:·IPFSConfig⏎` with `thumbnailImage:·FileOrPath,·ipfsConfig?:·IPFSConfig`
ci (20.x): src/vwbl/base.ts#L16
Replace `⏎··BaseConstructorProps,⏎··UploadContentType,⏎··UploadMetadataType,⏎` with `·BaseConstructorProps,·UploadContentType,·UploadMetadataType·`
ci (20.x): src/vwbl/base.ts#L32
Replace `⏎······contractAddress,⏎······uploadContentType,⏎······uploadMetadataType,⏎······awsConfig,⏎······vwblNetworkUrl,⏎······ipfsConfig,⏎···` with `·contractAddress,·uploadContentType,·uploadMetadataType,·awsConfig,·vwblNetworkUrl,·ipfsConfig`
ci (20.x): src/vwbl/base.ts#L42
Replace `⏎······uploadContentType·===·UploadContentType.S3·||⏎······uploadMetadataType·===·UploadMetadataType.S3⏎····` with `uploadContentType·===·UploadContentType.S3·||·uploadMetadataType·===·UploadMetadataType.S3`
ci (20.x): src/vwbl/base.ts#L49
Replace `⏎······uploadContentType·===·UploadContentType.IPFS·||⏎······uploadMetadataType·===·UploadMetadataType.IPFS⏎····` with `uploadContentType·===·UploadContentType.IPFS·||·uploadMetadataType·===·UploadMetadataType.IPFS`
ci (20.x): src/vwbl/base.ts#L65
Replace `⏎····signer:·Web3·|·ethers.providers.JsonRpcSigner·|·ethers.Wallet,⏎····targetContract?:·string⏎··` with `signer:·Web3·|·ethers.providers.JsonRpcSigner·|·ethers.Wallet,·targetContract?:·string`
ci (20.x): src/vwbl/base.ts#L139
Replace `⏎····documentId:·string,⏎····chainId:·number,⏎····address?:·string⏎··` with `documentId:·string,·chainId:·number,·address?:·string`
ci (20.x): src/vwbl/base.ts#L157
Replace `⏎····plainData:·File,⏎····key:·string⏎··` with `plainData:·File,·key:·string`
ci (20.x): src/vwbl/base.ts#L183
Replace `⏎····encryptFile:·Uint8Array,⏎····key:·string⏎··` with `encryptFile:·Uint8Array,·key:·string`
ci (20.x): src/vwbl/erc1155/VWBLEthers.ts#L1
Run autofix to sort these imports!
ci (20.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ci (20.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
ci (20.x): src/storage/aws/upload.ts#L71
'isRunningOnBrowser' is assigned a value but never used
ci (20.x): src/storage/ipfs/upload.ts#L22
Unexpected any. Specify a different type
ci (20.x): src/storage/ipfs/upload.ts#L23
Unsafe argument of type `any` assigned to a parameter of type `string | undefined`
ci (20.x): src/storage/ipfs/upload.ts#L44
Unexpected any. Specify a different type
ci (20.x): src/storage/ipfs/upload.ts#L45
Unsafe argument of type `any` assigned to a parameter of type `string | undefined`
ci (20.x): src/storage/ipfs/upload.ts#L79
Unexpected any. Specify a different type
ci (20.x): src/storage/ipfs/upload.ts#L80
Unsafe argument of type `any` assigned to a parameter of type `string | undefined`
ci (20.x): src/util/fileHelper.ts#L19
Unexpected any. Specify a different type
ci (20.x): src/util/fileHelper.ts#L44
Unexpected any. Specify a different type
ci (20.x): src/vwbl/api/VWBLApi.ts#L32
Unsafe return of an `any` typed value