Skip to content

Commit 1bdeb3a

Browse files
authored
[Frontend][Version][Update] lexicon version v3.0.0 (#76)
* lexicon version 3.0.0 * disable detox test * update bug fix version 3.0.0 * bug fix cache first post and notification
1 parent 03f2ca0 commit 1bdeb3a

File tree

748 files changed

+24685
-28350
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

748 files changed

+24685
-28350
lines changed

.github/workflows/delete-build-jet-cache.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@ jobs:
1616
- uses: buildjet/cache-delete@v1
1717
with:
1818
cache_key: ${{ inputs.cache_key }}
19+
20+
- name: Stop Workflow
21+
if: ${{ success() }}
22+
run: exit 0

.github/workflows/e2e-test-android.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: E2E test android
22

3-
on: workflow_call
3+
on:
4+
workflow_call:
5+
inputs:
6+
expo_version:
7+
description: 'expo version which used'
8+
type: string
9+
default: '51' # Change value based on expo version at package json
410

511
jobs:
612
e2e-test-android:
@@ -23,7 +29,7 @@ jobs:
2329
uses: actions/setup-java@v4
2430
with:
2531
distribution: 'temurin'
26-
java-version: '11'
32+
java-version: '17'
2733

2834
- name: Get yarn cache directory path
2935
id: yarn-cache-dir-path
@@ -48,7 +54,7 @@ jobs:
4854
uses: buildjet/cache@v4
4955
with:
5056
path: frontend/android
51-
key: ${{ runner.os }}-detox-build
57+
key: ${{ runner.os }}-detox-build-${{ inputs.expo_version }}
5258

5359
- name: Expo prebuild android and build detox
5460
if: steps.cache-detox-build.outputs.cache-hit != 'true'
@@ -64,10 +70,10 @@ jobs:
6470
detox clean-framework-cache && yarn detox build-framework-cache
6571
6672
- name: Gradle cache
67-
uses: gradle/gradle-build-action@v2
73+
uses: gradle/actions/setup-gradle@v3
6874

6975
- name: AVD cache
70-
uses: buildjet/cache@v3
76+
uses: buildjet/cache@v4
7177
id: avd-cache
7278
with:
7379
path: |
@@ -90,7 +96,7 @@ jobs:
9096
script: echo "Generated AVD snapshot for caching."
9197

9298
- name: Run Test
93-
timeout-minutes: 25
99+
timeout-minutes: 30
94100
uses: reactivecircus/android-emulator-runner@v2
95101
with:
96102
api-level: 28

.github/workflows/main.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,11 @@ jobs:
2727

2828
test:
2929
uses: ./.github/workflows/test.yml
30-
31-
# Disable Detox tests because they require a connection with a Build Jet account.
32-
# To enable these tests, ensure your repository is connected to Build Jet: https://buildjet.com/for-github-actions
33-
34-
# e2e-test:
35-
# needs: [path-filters, test]
36-
# if: needs.path-filters.outputs.frontendSrc-changes == 'true' && contains(needs.get-env.outputs.LIST_REPO,github.event.repository.name)
37-
# uses: ./.github/workflows/e2e-test-android.yml
38-
# secrets: inherit
30+
# Disable Detox tests because they require a connection with a Build Jet account.
31+
# To enable these tests, ensure your repository is connected to Build Jet: https://buildjet.com/for-github-actions
32+
33+
# e2e-test:
34+
# needs: [path-filters, test]
35+
# if: needs.path-filters.outputs.frontendSrc-changes == 'true' && contains(needs.get-env.outputs.LIST_REPO,github.event.repository.name)
36+
# uses: ./.github/workflows/e2e-test-android.yml
37+
# secrets: inherit

.github/workflows/path-filters.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,13 @@ on:
99
frontendSrc-changes:
1010
description: 'this is lexicon app src only status'
1111
value: ${{ jobs.path-filters.outputs.frontendSrc-changes }}
12-
backend-changes:
13-
description: 'this is Backend Prose changes status'
14-
value: ${{ jobs.path-filters.outputs.backend-changes }}
1512

1613
jobs:
1714
path-filters:
1815
runs-on: ubuntu-latest
1916
outputs:
2017
frontend-changes: ${{ steps.filter-frontend.outputs.isUpdated }}
2118
frontendSrc-changes: ${{ steps.filter-frontendSrc.outputs.isUpdated }}
22-
backend-changes: ${{ steps.filter-backend.outputs.isUpdated }}
2319

2420
steps:
2521
- uses: actions/checkout@v4
@@ -28,19 +24,11 @@ jobs:
2824
id: filter
2925
with:
3026
filters: |
31-
backend:
32-
- 'api/**'
3327
frontend:
3428
- 'frontend/**'
3529
frontendSrc:
3630
- 'frontend/src/**'
3731
38-
# run only if 'backend' files were changed
39-
- name: Output filter Backend Prose
40-
id: filter-backend
41-
if: steps.filter.outputs.backend == 'true'
42-
run: echo "isUpdated=true" >> $GITHUB_OUTPUT
43-
4432
# run only if 'frontend' files were changed
4533
- name: Output filter Lexicon
4634
id: filter-frontend

api/.env.example

Lines changed: 0 additions & 3 deletions
This file was deleted.

api/.gitignore

Lines changed: 0 additions & 6 deletions
This file was deleted.

api/deploy/Dockerfile

Lines changed: 0 additions & 22 deletions
This file was deleted.

api/docs/logging.md

Lines changed: 0 additions & 49 deletions
This file was deleted.

api/docs/typescript.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

api/jest.config.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)