Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions .github/actions/setup-node-install/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ runs:
- uses: pnpm/action-setup@v4
with:
version: 9
package_json_file: frontend/package.json

- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
cache-dependency-path: frontend/pnpm-lock.yaml

- name: 📦 Install Project Dependencies
run: pnpm install --frozen-lockfile
shell: bash
working-directory: ./frontend
14 changes: 9 additions & 5 deletions .github/workflows/expo-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ on:
- main
- master
paths:
- "package.json"
- "pnpm-lock.yaml"
- "frontend/package.json"
- "frontend/pnpm-lock.yaml"
pull_request:
paths:
- "package.json"
- "pnpm-lock.yaml"
- "frontend/package.json"
- "frontend/pnpm-lock.yaml"

jobs:
doctor:
Expand All @@ -20,12 +20,16 @@ jobs:

steps:
- name: 📦 Checkout project repo
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0
sparse-checkout: |
.github
frontend/

- name: 📦 Setup Node and dependencies
uses: ./.github/actions/setup-node-install

- name: 🚑 Run Doctor Checks
run: pnpm dlx expo-doctor
working-directory: ./frontend
9 changes: 7 additions & 2 deletions .github/workflows/lint-eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@ jobs:

steps:
- name: 📦 Checkout project repo
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0
sparse-checkout: |
.github
frontend/

- name: 📦 Setup Node and dependencies
uses: ./.github/actions/setup-node-install
Expand All @@ -27,11 +30,13 @@ jobs:
if: github.event_name == 'pull_request'
uses: reviewdog/action-eslint@v1
with:
workdir: frontend
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
eslint_flags: ". --ext .js,.jsx,.ts,.tsx"
eslint_flags: "--ext .js,.jsx,.ts,.tsx"
fail_level: warning

- name: 🏃‍♂️ Run ESLint no PR
if: github.event_name != 'pull_request'
run: pnpm run lint
working-directory: ./frontend
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,18 @@ jobs:

- name: 🏃‍♂️ Run Tests
run: pnpm run test:ci
working-directory: ./frontend

- name: Jest Coverage Comment
uses: MishaKav/jest-coverage-comment@main
if: (success() || failure()) && github.event_name == 'pull_request'
with:
coverage-summary-path: ./coverage/coverage-summary.json
coverage-summary-path: ./frontend/coverage/coverage-summary.json
summary-title: "💯 Test Coverage"
badge-title: Coverage
create-new-comment: false
junitxml-title: 😎 Tests Results
junitxml-path: ./coverage/jest-junit.xml
junitxml-path: ./frontend/coverage/jest-junit.xml
coverage-title: 👀 Tests Details
coverage-path: ./coverage/coverage.txt
coverage-path: ./frontend/coverage/coverage.txt
report-only-changed-files: true
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions frontend/metro.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Learn more https://docs.expo.io/guides/customizing-metro
const { getDefaultConfig } = require('expo/metro-config');

/** @type {import('expo/metro-config').MetroConfig} */
const config = getDefaultConfig(__dirname);

module.exports = config;
35 changes: 18 additions & 17 deletions package.json → frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,28 @@
"@react-native-async-storage/async-storage": "2.2.0",
"@react-navigation/drawer": "^7.7.2",
"@react-navigation/native": "^7.0.14",
"expo": "~55.0.5",
"expo-constants": "~55.0.9",
"expo-font": "~55.0.4",
"expo-linking": "~55.0.8",
"expo-router": "~55.0.7",
"expo-splash-screen": "~55.0.12",
"expo-sqlite": "~55.0.11",
"expo-status-bar": "~55.0.4",
"expo-system-ui": "~55.0.10",
"expo-web-browser": "~55.0.10",
"@expo/metro-runtime": "55.0.11",
"expo": "55.0.26",
"expo-constants": "55.0.16",
"expo-font": "55.0.8",
"expo-linking": "55.0.15",
"expo-router": "55.0.16",
"expo-splash-screen": "55.0.21",
"expo-sqlite": "55.0.16",
"expo-status-bar": "55.0.6",
"expo-system-ui": "55.0.18",
"expo-web-browser": "55.0.16",
"react": "19.2.0",
"react-dom": "19.2.0",
"react-native": "0.83.2",
"react-native-gesture-handler": "~2.30.0",
"react-native-get-random-values": "^1.11.0",
"react-native-popup-menu": "^0.16.1",
"react-native": "0.83.6",
"react-native-gesture-handler": "2.30.0",
"react-native-get-random-values": "1.11.0",
"react-native-popup-menu": "0.16.1",
"react-native-reanimated": "4.2.1",
"react-native-safe-area-context": "~5.6.2",
"react-native-screens": "~4.23.0",
"react-native-web": "^0.21.0",
"react-native-worklets": "0.7.2",
"react-native-worklets": "0.7.4",
"uuid": "^11.0.5"
},
"devDependencies": {
Expand All @@ -55,7 +56,7 @@
"@typescript-eslint/eslint-plugin": "^8.56.1",
"@typescript-eslint/parser": "^8.56.1",
"eslint": "^8.57.1",
"eslint-config-expo": "~55.0.0",
"eslint-config-expo": "55.0.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-prettier": "^5.2.1",
Expand All @@ -65,7 +66,7 @@
"expo-sqlite-mock": "^3.0.2",
"globals": "^15.9.0",
"jest": "^29.7.0",
"jest-expo": "~55.0.11",
"jest-expo": "55.0.18",
"jest-junit": "^16.0.0",
"prettier": "3.8.1",
"react-test-renderer": "19.2.0",
Expand Down
Loading
Loading