dzcode-io / dzcode.io

Website & mobile app for Algerian open-source community
https://dzcode.io
MIT License
114 stars 42 forks source link

refactor CI pipelines #562

Open ZibanPirate opened 1 year ago

ZibanPirate commented 1 year ago

Description

now that we have a bit more complex CI pipeline, it makes sense to refactor it in a re-usable way.

the solution might look like this:

need to experiment and see what workflow is best.

Check List

  1. [ ] update CI pipelines for pull-request checks

Additional Comments

omdxp commented 1 year ago

for e2e we don't need 3 OSs, just one can do the job

ZibanPirate commented 1 year ago

for e2e we don't need 3 OSs, just one can do the job

browsers behave differently in different OSs, also, Safari is only available on macOS.

I'm also starting to see some limitations with cypress:

I think we should also take a look at Playwright as an alternative, it already covers those above points

omdxp commented 1 year ago

I think we should also take a look at Playwright as an alternative, it already covers those above points

cypress still needs to fully support Safari indeed, if this playwright has those points covered then we can switch to it