Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
415816e
update app
blixor7 Dec 4, 2025
712520a
add test
blixor7 Dec 4, 2025
f40057c
feat:implement web only landingpage
blixor7 Dec 4, 2025
1b5bbb0
Merge branch 'main' into feature/web-only-lp
blixor7 Dec 4, 2025
d62faf3
refactor: improve type safety and clean up components
blixor7 Dec 4, 2025
d851faf
Merge branch 'feature/web-only-lp' of github.com:blixor7/Sobriety-Way…
blixor7 Dec 4, 2025
5516a32
feat: enhance jest setup with additional mocks for Image, ImageBackgr…
blixor7 Dec 4, 2025
d47188d
fix: add AuthProvider wrapper to renderWithProviders test utility
blixor7 Dec 4, 2025
9f706b5
fix: add missing mocks for AuthProvider dependencies in jest setup
blixor7 Dec 4, 2025
aae0827
fix:width overflow, color syntax, use theme tokens, and update test u…
blixor7 Dec 4, 2025
ff24b8b
fix: update jest configuration and setup for image mocking, enhance l…
blixor7 Dec 5, 2025
bbfe16c
refactor: clean up landing page components, enhance theme usage, and …
blixor7 Dec 5, 2025
ba8578d
fix ci failure code quality
blixor7 Dec 5, 2025
689e745
fix: ci workflow
blixor7 Dec 5, 2025
146a3c7
fix: unit test
blixor7 Dec 5, 2025
2c9c9d7
fix test
blixor7 Dec 5, 2025
132b0d8
fix test
blixor7 Dec 5, 2025
25a42b4
fix test
blixor7 Dec 5, 2025
ac73c05
fix :test
blixor7 Dec 5, 2025
1fbf5c7
fix :test
blixor7 Dec 5, 2025
316fb16
fix :test
blixor7 Dec 5, 2025
39f2e15
fix :test
blixor7 Dec 5, 2025
e77d8db
fix: enhance Jest setup and date mocking for tests
blixor7 Dec 5, 2025
c1f331d
Merge branch 'main' into feature/web-only-lp
blixor7 Dec 5, 2025
1c7fce1
fix: update logger and Sentry tests with proper mocking and implement…
blixor7 Dec 5, 2025
b4f9853
Merge branch 'feature/web-only-lp' of github.com:blixor7/Sobriety-Way…
blixor7 Dec 5, 2025
d664440
chore: update Jest config
blixor7 Dec 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
name: Unit Tests
runs-on: ubuntu-latest
needs: lint-and-typecheck
timeout-minutes: 10

steps:
- name: Checkout code
Expand All @@ -48,26 +49,33 @@ jobs:
uses: ./.github/actions/setup-project

- name: Run tests with coverage
run: pnpm test:ci --coverage
run: pnpm test:ci
env:
EXPO_PUBLIC_SUPABASE_URL: ${{ secrets.EXPO_PUBLIC_SUPABASE_URL || 'https://test.supabase.co' }}
EXPO_PUBLIC_SUPABASE_ANON_KEY: ${{ secrets.EXPO_PUBLIC_SUPABASE_ANON_KEY || 'test-anon-key' }}

- name: Upload coverage to Codecov
if: always()
uses: codecov/codecov-action@v5
with:
files: ./coverage/coverage-final.json
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false

- name: Upload coverage artifacts
if: always()
uses: actions/upload-artifact@v5
with:
name: coverage-report
path: coverage/
retention-days: 7
if-no-files-found: ignore

build:
name: Build for Web
runs-on: ubuntu-latest
needs: [lint-and-typecheck]
timeout-minutes: 10

steps:
- name: Checkout code
Expand All @@ -77,15 +85,22 @@ jobs:
uses: ./.github/actions/setup-project

- name: Build web application
run: pnpm build:web
run: |
export EXPO_PUBLIC_SUPABASE_URL="${EXPO_PUBLIC_SUPABASE_URL:-https://placeholder.supabase.co}"
export EXPO_PUBLIC_SUPABASE_ANON_KEY="${EXPO_PUBLIC_SUPABASE_ANON_KEY:-placeholder-anon-key}"
export EXPO_PUBLIC_FACEBOOK_APP_ID="${EXPO_PUBLIC_FACEBOOK_APP_ID:-}"
pnpm build:web
env:
EXPO_PUBLIC_SUPABASE_URL: ${{ secrets.EXPO_PUBLIC_SUPABASE_URL }}
EXPO_PUBLIC_SUPABASE_ANON_KEY: ${{ secrets.EXPO_PUBLIC_SUPABASE_ANON_KEY }}
EXPO_PUBLIC_FACEBOOK_APP_ID: ${{ secrets.EXPO_PUBLIC_FACEBOOK_APP_ID }}
NODE_ENV: production

- name: Upload build artifacts
if: success()
uses: actions/upload-artifact@v5
with:
name: web-build
path: dist/
retention-days: 7
if-no-files-found: warn
1 change: 1 addition & 0 deletions .github/workflows/claude-code-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- name: Run Claude Code Review
id: claude-review
uses: anthropics/claude-code-action@v1
continue-on-error: true
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
track_progress: true
Expand Down
Loading
Loading