hyperledger-labs / hyperledger-labs/fablo
Enhance CI/CD pipeline for multi-platform support and build reliability
- Dominant language
- Shell
- Stars
- 238
- Forks
- 113
- Avg merge
- 3d 20h
- Merged PRs (30d)
- 10
Description
## Description:
The current GitHub Actions workflow has a few limitations that hinder development speed and cross-platform compatibility:
* **Architecture:** We currently only target `amd64`, making it difficult for users on ARM-based systems (like Apple Silicon) to use the images natively.
* **Dependency Management:** The `npm install` step is fragmented between the YAML and the build script.
* **Tooling:** Version parsing relies on `jq`, which may not be present in every environment.
## Proposed Changes:
1. Integrate `docker/setup-qemu-action` to allow cross-compilation.
2. Update all GitHub Actions to their latest stable versions (v3/v4).
3. Centralize build logic within `fablo-build.sh` using `npm ci` for consistent builds.
4. Use `node` to parse `package.json` versions to reduce external dependencies.
Contributor guide
Assessment
This issue has not been assessed yet.