dzcode.io
dzcode.io copied to clipboard
refactor CI pipelines
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:
-
install
(3 OSs) -
build
(3 OSs), usesinstall
-
lint
(3 OSs), usesbuild
-
test
(3 OSs), usesbuild
-
e2e
(3 OSs, 3 browsers), usesbuild
need to experiment and see what workflow is best.
Check List
- [ ] update CI pipelines for pull-request checks
Additional Comments
- https://docs.github.com/en/actions/using-workflows/reusing-workflows
- https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows