From d9561327ae494f4f3993913ccc9fdc9b5ff71a8d Mon Sep 17 00:00:00 2001 From: Francis6-git Date: Wed, 17 Jun 2026 14:43:49 +0100 Subject: [PATCH 1/2] ci: add GitHub Actions workflow for fast expo web export validation (#9) --- .github/workflows/ci.yml | 34 ++++++++++++++++++++++++++++++++++ README.md | 1 + 2 files changed, 35 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..ff44973 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,34 @@ +name: CI + +on: + push: + branches: + - main + pull_request: + +jobs: + web-build: + name: Web Build + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + cache: 'npm' + + - name: Install Dependencies + run: npm ci + + - name: Export Web Build + run: npx expo export --platform web + + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: web-build + path: dist/ + retention-days: 7 diff --git a/README.md b/README.md index cef6616..0cf7563 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ [![Open Source](https://img.shields.io/badge/Open%20Source-Yes-green?style=flat-square)](https://opensource.org/) [![MIT License](https://img.shields.io/badge/License-MIT-yellow?style=flat-square)](./LICENSE) +[![CI](https://github.com/StepFi-app/StepFi-App/actions/workflows/ci.yml/badge.svg)](https://github.com/StepFi-app/StepFi-App/actions/workflows/ci.yml) # StepFi App From d4b42e4bd8b6378266c3cc72794c86d7bb0b385d Mon Sep 17 00:00:00 2001 From: Francis6-git Date: Wed, 17 Jun 2026 18:07:05 +0100 Subject: [PATCH 2/2] fixed: strict dependency check overridden via --legacy-peer-deps --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff44973..c4280c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: cache: 'npm' - name: Install Dependencies - run: npm ci + run: npm ci --legacy-peer-deps - name: Export Web Build run: npx expo export --platform web @@ -31,4 +31,4 @@ jobs: with: name: web-build path: dist/ - retention-days: 7 + retention-days: 7 \ No newline at end of file