-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
@evan-cohen Can you please take a look at the build logs (https://github.com/bitcobblers/multiminer/actions/runs/1797596167) for this commit? It's now throwing strange linting errors about import/extensions missing a file extension. Thanks! |
At first glance, it seems like a case sensitivity issue. The file is "Handlers.ts", but the import statement reference "./handlers". |
Good catch. I forgot that linux was case-sensitive with filenames. Linting is now passing, but now
Should I just update the build configuration to run tests this way by default? |
I'd typically shy away from appending flags to every run of the test command when it comes to snapshots. From my reading of the docs, it seems like an "obsolete" snapshot is one for which the original That said, the specific file referenced in the error seems to be a false positive due to Jest treating the Linux *.snap file as a snapshot -- possibly a manifestation of jestjs/jest#8922. If that artifact is being generated on every build, we may need to reorder the CI steps to avoid generating that file before running Jest. Far from an ideal solution, but running with |
We might also be able to disable electron-builder's Snap target if we don't intend to distribute to that platform. I believe I remember you mentioning that we're predominantly targeting Windows, right? |
I have a suspicion that ERB is doing something strange with the way paths in package.json are resolved. Once I updated the |
Fixed and fast now. |
Modify build configurations to allow builds to go through our self-hosted build agents.