Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AXON-29] chore: initial setup of Github CI #2

Merged
merged 1 commit into from
Dec 2, 2024
Merged

Conversation

sdzh-atlassian
Copy link
Member

@sdzh-atlassian sdzh-atlassian commented Nov 30, 2024

What is this?

Initial setup for the CI pipelines in the new repo:

  • .github/workflows/build.yaml - regular builds
  • .github/workflows/release.yaml - regular releases, triggered by tags, same as before
  • .github/workflows/release-nightly.yaml - WIP nightly releases

The node setup should be cached

The actual releasing functionality is stubbed for now - but I've tested out the PAT verification and it works:
image

NPM dependencies cache

To bring the builds here in line with our old BB setup, I've tried setting up cache for NPM dependencies as described here. However, the improvement in time it seems to yield is fairly negligible:

No cache:
image
Cache:
image

This is all completely alright at the moment - but in the future, we might want to look into npm run compile command and speed that up - it's the biggest offender for DevProd right now 😉

How was this tested

  • Ran a bunch of builds with different triggers until they started succeeding? 🤔

@sdzh-atlassian sdzh-atlassian merged commit c5313dc into main Dec 2, 2024
7 checks passed
@sdzh-atlassian sdzh-atlassian deleted the setup-ci branch December 2, 2024 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants