Following the recent changes on the repository, the action does not build anymore.
Type 'TaskEither<Error, string[]>' is not assignable to type 'TaskEither<never, string[]>'.
Type 'Error' is not assignable to type 'never'.
src/index.ts(125,3): error TS2345: Argument of type 'IOEither<ProcessEnv, Error>' is not assignable to parameter of type 'IOEither<Error, Error>'.
Type 'Dict<string>' is missing the following properties from type 'Error': name, message
src/index.ts(125,45): error TS2345: Argument of type 'IO<{}>' is not assignable to parameter of type 'IO<Error>'.
Type '{}' is missing the following properties from type 'Error': name, message
src/index.ts(126,45): error TS2345: Argument of type 'Error' is not assignable to parameter of type 'ProcessEnv'.
Index signature for type 'string' is missing in type 'Error'.
src/index.ts(135,3): error TS2345: Argument of type '(ma: TaskEither<Error, { readonly config: { GITHUB_EVENT_PATH: string; INPUT_REPO_TOKEN: string; GITHUB_WORKSPACE: string; INPUT_FILE_GLOB: string; INPUT_EVENT_NAME: string; INPUT_SPECTRAL_RULESET: string; GITHUB_SERVER_URL: string; }; readonly repositoryInfo: RepositoryInfo; }>) => TaskEither<...>' is not assignable to parameter of type '(c: TaskEither<Error, { readonly config: { GITHUB_EVENT_PATH: string; INPUT_REPO_TOKEN: string; GITHUB_WORKSPACE: string; INPUT_FILE_GLOB: string; INPUT_EVENT_NAME: string; INPUT_SPECTRAL_RULESET: string; GITHUB_SERVER_URL: string; }; readonly repositoryInfo: RepositoryInfo; }>) => TaskEither<...>'.
Type 'TaskEither<Error, { readonly config: { GITHUB_EVENT_PATH: string; INPUT_REPO_TOKEN: string; GITHUB_WORKSPACE: string; INPUT_FILE_GLOB: string; INPUT_EVENT_NAME: string; INPUT_SPECTRAL_RULESET: string; GITHUB_SERVER_URL: string; }; readonly repositoryInfo: RepositoryInfo; readonly octokit: { ...; } & ... 3 more ... &...' is not assignable to type 'TaskEither<never, { readonly config: { GITHUB_EVENT_PATH: string; INPUT_REPO_TOKEN: string; GITHUB_WORKSPACE: string; INPUT_FILE_GLOB: string; INPUT_EVENT_NAME: string; INPUT_SPECTRAL_RULESET: string; GITHUB_SERVER_URL: string; }; readonly repositoryInfo: RepositoryInfo; readonly octokit: { ...; } & ... 3 more ... &...'.
Type 'Error' is not assignable to type 'never'.
src/index.ts(169,1): error TS1[80](https://github.com/Unity-Technologies/unity-services-api-docs/actions/runs/7279457062/job/19836789286?pr=1296#step:3:80)46: 'program' is of type 'unknown'.
src/index.ts(169,16): error TS7006: Parameter 'result' implicitly has an 'any' type.
src/index.ts(173,18): error TS18046: 'e' is of type 'unknown'.
The docker image builds correctly.
Introducing an automated test that the docker image builds could prevent this from happening.