Skip to content

chore: Converted CircleCi to Github workflows#4884

Merged
satya164 merged 2 commits into
5.0from
chore/github-workflows
May 26, 2026
Merged

chore: Converted CircleCi to Github workflows#4884
satya164 merged 2 commits into
5.0from
chore/github-workflows

Conversation

@ruben-rebelo
Copy link
Copy Markdown
Collaborator

This is a Simple PR to convert all the jobs from CircleCi to GitHub Actions to improve the maintenance.

Motivation

The main motivation here is maintainability, GitHub actions is much more stable than CircleCi and easier to maintain.

Related issue

N/a

Test plan

N/a

@github-actions
Copy link
Copy Markdown

Hey @ruben-rebelo, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

@github-actions
Copy link
Copy Markdown

The mobile version of example app from this branch is ready! You can see it here.

Copy link
Copy Markdown
Collaborator

@BogiKay BogiKay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great work 🔥 Left a few comments with ideas for potential improvements

Comment thread .github/workflows/workflows.yml Outdated
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.19.0'
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we extract node version to env var? or use version from .nvmrc (setup-node action has an option node-version-file)

Comment thread .github/workflows/workflows.yml Outdated
}

deploy-docs:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deploy-docs runs even if checks fail. I'd run it when all steps pass

Suggested change
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: [lint, typescript, unit-tests, build-package]

Comment thread .github/workflows/workflows.yml Outdated
branches:
- main
pull_request:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about defining concurrency rules to limit runs on frequent pushes?

Suggested change
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

Comment thread .github/workflows/workflows.yml Outdated
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't count, but looks like all jobs use the same steps (checkout, setup node, install deps...). Let's create a composite action with steps that we need to setup everything before we run a job.

@satya164 satya164 merged commit 2a5715a into 5.0 May 26, 2026
6 checks passed
satya164 added a commit that referenced this pull request May 26, 2026
Co-authored-by: Satyajit Sahoo <satyajit.happy@gmail.com>
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.

3 participants