ArtiomTr / jest-coverage-report-action

Track your code coverage in every pull request.
https://www.covbot.dev
MIT License
499 stars 143 forks source link

Update to v3 failed with Error: iconType must be one of the following values: emoji, ascii, unicode #386

Closed iamfj closed 1 year ago

iamfj commented 1 year ago

Describe a bug

After updating from v2 to v3 I get the following error message when running the jest build step. Since I have no special configuration, I assume that a bug in the action is responsible for this.

Running using node v18.16.1
Begin initialization stage...
Initialization stage failed
Error: Error: iconType must be one of the following values: emoji, ascii, unicode
iconType must be one of the following values: emoji, ascii, unicode
Error: iconType must be one of the following values: emoji, ascii, unicode
iconType must be one of the following values: emoji, ascii, unicode
    at sC (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v3/dist/index.js:2220:3460)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async ei (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v3/dist/index.js:2221:158)
    at async UD (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v3/dist/index.js:22[30](https://github.com/***/***/actions/runs/5636375272/job/15268391600?pr=91#step:4:32):14458)
Initialization stage ended
/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v3/dist/index.js:2230

Expected behavior

I would expect the test to run through with the below configuration without error.

Details

Additional context

If necessary, I can also attach the complete log of this runs.

ArtiomTr commented 1 year ago

Hello @iamfj :wave:,

The v3 version is not released yet, actually, I've just started working on it πŸ˜„

I need a few months to finish it, so yeah, currently it is not even "alpha" or "beta" - it just doesn't work at all.

schorfES commented 1 year ago

Dependabot has suggested the update from v2 to v3 in my repositories. I am not sure where it got the version from. If it is the GIT tag, maybe it makes sense not to tag the version until you have a stable version.

ArtiomTr commented 1 year ago

Thank you, didn't know that dependabot suggests updating actions, even if there is no release tag. I'll rename the branch

ArtiomTr commented 1 year ago

Renamed v3 branch to wip-v3, so dependabot should not suggest updating anymore πŸ‘

iamfj commented 1 year ago

Right, dependabot suggested it for me too. Thanks for the fast response!