bcgov / sbc-common-components

Apache License 2.0
0 stars 41 forks source link

CI/CD fixes - use the eslint from business-edit-ui + Migrate to Vite / Vitest #330

Closed seeker25 closed 1 year ago

seeker25 commented 1 year ago

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the sbc-auth license (Apache 2.0).

seeker25 commented 1 year ago

I was stuck scratching my head wondering why JEST wouldn't work on the CI. I tried in WSL, I tried in Windows, I tried differnet node versions, I tried different ubuntu versions on the workflows. I tried different node versions. Nothing seemed to work.

@ochiu tried the code, nothing was wrong with it on his computer either and he's running a mac.

So I decided to just nuke it all and move to Vite / Vitest. This should give me some good practice to upgrade auth-web later.