From 3f2abec0c5b47dd5e80c503e06959548dc280e00 Mon Sep 17 00:00:00 2001 From: radeva Date: Tue, 6 Aug 2024 14:28:53 +0300 Subject: [PATCH 1/5] rule/for-direction error --- App.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/App.tsx b/App.tsx index 4a02d9d..684722e 100644 --- a/App.tsx +++ b/App.tsx @@ -59,6 +59,10 @@ function Section({ children, title }: SectionProps): React.JSX.Element { function App(): React.JSX.Element { const isDarkMode = useColorScheme() === 'dark'; + for (var i = 0; i > 10; i++) { + console.log(i); + } + const backgroundStyle = { backgroundColor: isDarkMode ? Colors.darker : Colors.lighter, }; From 231812c1e0c333c6641379185ff9216122b1c6fe Mon Sep 17 00:00:00 2001 From: radeva Date: Tue, 6 Aug 2024 14:29:25 +0300 Subject: [PATCH 2/5] disable tests and builds --- .github/workflows/ci.yaml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fdc4d8a..0d77009 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -52,21 +52,21 @@ jobs: set -euxo pipefail yarn lint - - name: Run tests - run: | - set -euxo pipefail - yarn test + # - name: Run tests + # run: | + # set -euxo pipefail + # yarn test - - name: Build iOS - run: | - set -euxo pipefail - yarn build-ios + # - name: Build iOS + # run: | + # set -euxo pipefail + # yarn build-ios - - name: Build Android - run: | - set -euxo pipefail - yarn build-android + # - name: Build Android + # run: | + # set -euxo pipefail + # yarn build-android - - name: Fix my build - uses: fly-ci/wingman-action@v1 - if: failure() + # - name: Fix my build + # uses: fly-ci/wingman-action@v1 + # if: failure() From d284165b39f5bd5556c5015f9b546e1bd734606c Mon Sep 17 00:00:00 2001 From: radeva Date: Tue, 6 Aug 2024 14:31:40 +0300 Subject: [PATCH 3/5] enable wingman --- .github/workflows/ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0d77009..37b44f3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -67,6 +67,6 @@ jobs: # set -euxo pipefail # yarn build-android - # - name: Fix my build - # uses: fly-ci/wingman-action@v1 - # if: failure() + - name: Fix my build + uses: fly-ci/wingman-action@v1 + if: failure() From a6db7831bc972c85458a9f2749ceaa76f2588fff Mon Sep 17 00:00:00 2001 From: radeva Date: Tue, 6 Aug 2024 14:32:05 +0300 Subject: [PATCH 4/5] skip installing pods --- .github/workflows/ci.yaml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 37b44f3..3b6b62c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -32,20 +32,20 @@ jobs: set -euxo pipefail yarn install --frozen-lockfile - - name: Cache Pods - uses: actions/cache@v4 - id: pods-cache - with: - path: ./ios/Pods - key: ${{ runner.os }}-pods-${{ hashFiles('ios/Podfile.lock') }} + # - name: Cache Pods + # uses: actions/cache@v4 + # id: pods-cache + # with: + # path: ./ios/Pods + # key: ${{ runner.os }}-pods-${{ hashFiles('ios/Podfile.lock') }} - - name: Install pods - working-directory: ios - env: - NO_FLIPPER: 1 - run: | - set -euxo pipefail - bundle exec pod install + # - name: Install pods + # working-directory: ios + # env: + # NO_FLIPPER: 1 + # run: | + # set -euxo pipefail + # bundle exec pod install - name: Run eslint run: | From 8e698487d91d17a3ba2312ad0efa583798a9830c Mon Sep 17 00:00:00 2001 From: radeva Date: Tue, 6 Aug 2024 14:37:06 +0300 Subject: [PATCH 5/5] cause error --- App.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/App.tsx b/App.tsx index 684722e..d56c7c4 100644 --- a/App.tsx +++ b/App.tsx @@ -59,6 +59,7 @@ function Section({ children, title }: SectionProps): React.JSX.Element { function App(): React.JSX.Element { const isDarkMode = useColorScheme() === 'dark'; + /*eslint for-direction: "error"*/ for (var i = 0; i > 10; i++) { console.log(i); }