Skip to content

Update x app template #35

Update x app template

Update x app template #35

Triggered via pull request September 5, 2024 15:00
Status Failure
Total duration 1m 39s
Artifacts

build-and-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 2 warnings
Build and Test
x-dapp-backend#lint: command (/home/runner/work/x-app-template/x-app-template/apps/backend) /tmp/yarn--1725548519390-0.30616582529938086/yarn run lint exited (1)
Build and Test: apps/backend/src/services/contracts.service.ts#L6
Replace `unitsUtils}·from·"@vechain/sdk-core"` with `·unitsUtils·}·from·'@vechain/sdk-core'`
Build and Test: apps/backend/src/services/contracts.service.ts#L7
Replace `REWARD_AMOUNT}·from·"@config"` with `·REWARD_AMOUNT·}·from·'@config'`
Build and Test: apps/backend/src/services/contracts.service.ts#L13
Replace `await·ecoEarnContract.transact.registerValidSubmission(submission.address,·unitsUtils.parseUnits(REWARD_AMOUNT,·"ether"·))` with `⏎········await·ecoEarnContract.transact.registerValidSubmission(submission.address,·unitsUtils.parseUnits(REWARD_AMOUNT,·'ether'))⏎······`
Build and Test
Process completed with exit code 1.
Build and Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build and Test: apps/backend/src/utils/thor.ts#L3
'EcoEarnABI' is defined but never used