ci: Improve CI pipeline
This MR implements all proposed changes from: #638 (closed)
I had to stop myself and have left a few things as follow up issues: #638 (closed)
I invite you to have a detailed look into the individual commits:
ci: Use empty DAG to improve performance
GitLab supports an empty DAG dependency (needs), this allows us to start linting, danger, unit tests and build before we have started building the puppeteer image.
For reference: gitlab#30631 (closed)
ci: Separate build of storybook and npm package
Currently the build
job builds both storybook and the package.
Separating the two makes more sense semantically and should allow us to save some build time, as building the package currently takes twice as long.
Additionally the upload_artifacts
job can then be merged into
build_package
, as it was essentially a transitive dependency for
create_integration_branch
which just zipped together the results of
build_package
ci: Move danger job to the test stage
ci: Move manual jobs into separate stage