Skip to content

Conversation

@tbouffard
Copy link
Member

This ensures we don't have type errors in the code.

Notes

The development branch currently contains type errors that will be fixed by #78. So the first commit of this Pull Request will fail.
Once it will be merged, the build should be OK.

@tbouffard
Copy link
Member Author

The build is now able to detect type issues and the development branch is now fixed.
The tsc command is failing on macOS as the tsc executable is not available.

Previous configuration prevented to run the type generation twice
The generated d.ts files were considered as source files, so we got file
override errors.
We cannot call directly tsc or lerna command in macOS GH actions runner, so
introduce the script.
@tbouffard
Copy link
Member Author

I have just make the type checks command work on macOS.
I introduced npm scripts and fixed the tsconfig to be able to run the command several times locally.

@tbouffard tbouffard marked this pull request as ready for review February 23, 2022 14:39
@tbouffard tbouffard merged commit 443ebf7 into development Apr 3, 2022
@tbouffard tbouffard deleted the chore/gh_wf_check_types branch April 3, 2022 11:09
@tbouffard tbouffard added the chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...) label Nov 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants