chore: rewrite CI workflows to build once and add logic#1511
Merged
mrTuomoK merged 1 commit intodevelopmentfrom Apr 30, 2025
Merged
chore: rewrite CI workflows to build once and add logic#1511mrTuomoK merged 1 commit intodevelopmentfrom
mrTuomoK merged 1 commit intodevelopmentfrom
Conversation
Refs: HDS-2332
Test Results 1 files 68 suites 17m 37s ⏱️ Results for commit 3944e20. |
|
Preview found from hds-demo docs/preview_1511 Demos |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs: HDS-2332
Description
Rewrote the CI-workflow's to build packages only once and use them in the latter flows. Also deploys the site demos a bit differenty now.
Single version demo-site when: PR to development or running workflow-dispatch
Multi when: PR targetting master, push to development or master or release-*
Had to add new env and script to
site'spackage.jsonBUILD_SINGLE_VERSIONsince gatsby build forces the previously used development env to false which could not be used anymore.Also cleans up the artifacts right after successful builds.
Example flow:

and after PR to development:

Related Issue
Closes HDS-2332
Motivation and Context
Greener code, faster in some cases too.
How Has This Been Tested?
Demos:
Links to demos are in the comments
Add to changelog