diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d50a55d..11f255d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,3 +24,19 @@ jobs: - run: python -m pip install -r requirements-dev.txt - run: python -m ruff check . - run: python -m pytest + mobile: + runs-on: ubuntu-latest + defaults: + run: + working-directory: mobile + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 22 + cache: npm + cache-dependency-path: mobile/package-lock.json + - run: npm ci + - run: npm run lint + - run: npm run typecheck + - run: npm run format:check diff --git a/mobile/.expo/README.md b/mobile/.expo/README.md deleted file mode 100644 index 563b815..0000000 --- a/mobile/.expo/README.md +++ /dev/null @@ -1,14 +0,0 @@ -> Why do I have a folder named ".expo" in my project? - -The ".expo" folder is created when an Expo project is started using "expo start" command. - -> What do the files contain? - -- "devices.json": contains information about devices that have recently opened this project. This is used to populate the "Development sessions" list in your development builds. -- "settings.json": contains the server configuration that is used to serve the application manifest. -- "dev/logs/": contains structured JSONL event logs from CLI commands (e.g. start.log, export.log). These are truncated on each run. - -> Should I commit the ".expo" folder? - -No, you should not share the ".expo" folder. It does not contain any information that is relevant for other developers working on the project, it is specific to your machine. -Upon project creation, the ".expo" folder is already added to your ".gitignore" file. diff --git a/mobile/.expo/cache/eslint/.cache_emlipg b/mobile/.expo/cache/eslint/.cache_emlipg deleted file mode 100644 index 0595c31..0000000 --- a/mobile/.expo/cache/eslint/.cache_emlipg +++ /dev/null @@ -1 +0,0 @@ -[{"/Users/darinabilenko/Desktop/Quitt/mobile/src/app/_layout.tsx":"1","/Users/darinabilenko/Desktop/Quitt/mobile/src/app/index.tsx":"2"},{"size":99,"mtime":1794390725732,"results":"3","hashOfConfig":"4"},{"size":348,"mtime":1794390725737,"results":"5","hashOfConfig":"4"},{"filePath":"6","messages":"7","suppressedMessages":"8","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"zn6v2m",{"filePath":"9","messages":"10","suppressedMessages":"11","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/darinabilenko/Desktop/Quitt/mobile/src/app/_layout.tsx",[],[],"/Users/darinabilenko/Desktop/Quitt/mobile/src/app/index.tsx",[],[]] \ No newline at end of file diff --git a/mobile/.expo/devices.json b/mobile/.expo/devices.json deleted file mode 100644 index 5efff6c..0000000 --- a/mobile/.expo/devices.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "devices": [] -} diff --git a/mobile/.expo/types/router.d.ts b/mobile/.expo/types/router.d.ts deleted file mode 100644 index 9c4c454..0000000 --- a/mobile/.expo/types/router.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* eslint-disable */ -import * as Router from 'expo-router'; - -export * from 'expo-router'; - -declare module 'expo-router' { - export namespace ExpoRouter { - export interface __routes { - hrefInputParams: { pathname: Router.RelativePathString, params?: Router.UnknownInputParams } | { pathname: Router.ExternalPathString, params?: Router.UnknownInputParams } | { pathname: `/`; params?: Router.UnknownInputParams; } | { pathname: `/_sitemap`; params?: Router.UnknownInputParams; }; - hrefOutputParams: { pathname: Router.RelativePathString, params?: Router.UnknownOutputParams } | { pathname: Router.ExternalPathString, params?: Router.UnknownOutputParams } | { pathname: `/`; params?: Router.UnknownOutputParams; } | { pathname: `/_sitemap`; params?: Router.UnknownOutputParams; }; - href: Router.RelativePathString | Router.ExternalPathString | `/${`?${string}` | `#${string}` | ''}` | `/_sitemap${`?${string}` | `#${string}` | ''}` | { pathname: Router.RelativePathString | Router.ExternalPathString | `/` | `/_sitemap`; params?: Router.UnknownInputParams; }; - } - } -} diff --git a/mobile/package.json b/mobile/package.json index 0975167..b3e058e 100644 --- a/mobile/package.json +++ b/mobile/package.json @@ -44,6 +44,7 @@ "ios": "expo start --ios", "web": "expo start --web", "lint": "expo lint", + "typecheck": "tsc --noEmit", "format": "prettier --write .", "format:check": "prettier --check ." },