Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run build:ts in lint and lint:ci #571

Merged
merged 1 commit into from
Jun 28, 2024
Merged

Conversation

lloydk
Copy link
Collaborator

@lloydk lloydk commented Jun 27, 2024

Due to typescript errors in the code base the tsc portion of build:ts is hardcoded to always return a 0 exit code.

This should work on Linux and Mac (I only tested it on Linux). If we want to support building on Windows then we need a different strategy for the exit code. There are a number of npm packages that will handle the exit code in a cross platform manner. (e.g. https://github.com/kachkaev/suppress-exit-code).

Due to typescript errors in the code base the tsc portion of
build:ts is hardcoded to always return a 0 exit code.
Copy link

netlify bot commented Jun 27, 2024

Deploy Preview for colorjs ready!

Name Link
🔨 Latest commit a7e94fa
🔍 Latest deploy log https://app.netlify.com/sites/colorjs/deploys/667d9e9fc28bdc000832edac
😎 Deploy Preview https://deploy-preview-571--colorjs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@lloydk
Copy link
Collaborator Author

lloydk commented Jun 27, 2024

I'm confused as to why there are so many dtslint errors in CI. I cloned this repository into a new directory, did an npm install added the changes in this PR ran npm run lint:ci and got a different set of dtslint errors (errors fixed by #569).

@MysteryBlokHed MysteryBlokHed merged commit 0259276 into color-js:main Jun 28, 2024
4 of 5 checks passed
@lloydk lloydk deleted the fix-lint branch January 4, 2025 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants