Closed filipewl closed 1 year ago
Hi! I'm VTEX IO CI/CD Bot and I'll be helping you to publish your app! 🤖
Please select which version do you want to release:
[ ] Patch (backwards-compatible bug fixes)
[ ] Minor (backwards-compatible functionality)
[ ] Major (incompatible API changes)
And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag.
Beep boop :robot:
I noticed you didn't make any changes at the docs/
folder
In order to keep track, I'll create an issue if you decide now is not a good time
Closing as I just wanted to see these logs (they should expire after a while).
Run vtex/action-lint@master
/usr/bin/docker run --name b65a[2](https://github.com/vtex-apps/product-summary/actions/runs/3766773412/jobs/6403627653#step:8:3)0d9f54c5d98da8f94e0f0cbeb_9[3](https://github.com/vtex-apps/product-summary/actions/runs/3766773412/jobs/6403627653#step:8:4)89ba --label 290506 --workdir /github/workspace --rm -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/product-summary/product-summary":"/github/workspace" 290506:70b65a20d9f54c5d98da8f94e0f0cbeb
ℹ info Installing root dependencies
ℹ info Installing "react" dependencies
ℹ info Linting
✖ fatal Error: Command failed with exit code 1: yarn lint
error Command failed with exit code 1.
yarn run v1.22.19
$ eslint --ext js,jsx,ts,tsx .
/github/workspace/react/ProductSummaryContext.tsx
Warning: 18:66 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/github/workspace/react/ProductSummaryList.tsx
Warning: 111:[4](https://github.com/vtex-apps/product-summary/actions/runs/3766773412/jobs/6403627653#step:8:5)4 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
Warning: 111:64 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
Warning: 113:36 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
Warning: 161:1[5](https://github.com/vtex-apps/product-summary/actions/runs/3766773412/jobs/6403627653#step:8:6) warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/github/workspace/react/ProductSummaryListWithoutQuery.tsx
Warning: 18:14 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
Warning: 21:14 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
Warning: 23:1[6](https://github.com/vtex-apps/product-summary/actions/runs/3766773412/jobs/6403627653#step:8:7) warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
Warning: 33:14 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/github/workspace/react/ProductSummarySpecificationBadges.tsx
Warning: 15:4 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/github/workspace/react/__mocks__/vtex.product-context.tsx
Warning: [7](https://github.com/vtex-apps/product-summary/actions/runs/3766773412/jobs/6403627653#step:8:8):69 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/github/workspace/react/__mocks__/vtex.product-summary-context.tsx
Warning: 5:62 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/github/workspace/react/__mocks__/vtex.store-components/ProductPrice.js
7:17 error Parsing error: Unexpected token =
/github/workspace/react/__mocks__/vtex.store-components/index.js
[8](https://github.com/vtex-apps/product-summary/actions/runs/3766773412/jobs/6403627653#step:8:9):17 error Parsing error: Unexpected token =
/github/workspace/react/components/ProductSummaryAttachmentList/AttachmentList.js
18:32 error Parsing error: Unexpected token .
/github/workspace/react/legacy/components/ProductQuantityStepper.js
28:20 error Parsing error: Unexpected token =
/github/workspace/react/legacy/index.js
30:20 error Parsing error: Unexpected token =
/github/workspace/react/typings/graphql.d.ts
Warning: 2:18 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/github/workspace/react/utils/aspectRatioUtil.ts
Warning: 46:3 warning Arrow function has too many parameters (4). Maximum allowed is 3 max-params
/github/workspace/react/utils/attachmentHelper.ts
Warning: 10:42 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/github/workspace/react/utils/compose.ts
Warning: 4:20 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/github/workspace/react/utils/normalize.ts
Warning: 25[9](https://github.com/vtex-apps/product-summary/actions/runs/3766773412/jobs/6403627653#step:8:10):28 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
✖ 22 problems (5 errors, 17 warnings)
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
at makeError (/node_modules/actions-toolkit/node_modules/execa/lib/error.js:58:[11](https://github.com/vtex-apps/product-summary/actions/runs/3766773412/jobs/6403627653#step:8:12))
at handlePromise (/node_modules/actions-toolkit/node_modules/execa/index.js:1[14](https://github.com/vtex-apps/product-summary/actions/runs/3766773412/jobs/6403627653#step:8:15):[26](https://github.com/vtex-apps/product-summary/actions/runs/3766773412/jobs/6403627653#step:8:27))
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /lib/index.js:[58](https://github.com/vtex-apps/product-summary/actions/runs/3766773412/jobs/6403627653#step:8:59):5
What problem is this solving?
How to test it?
[Workspace](Link goes here!)
Screenshots or example usage:
Describe alternatives you've considered, if any.
Related to / Depends on
How does this PR make you feel? :link:
![](put .gif link here - can be found under "advanced" on giphy)