diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index d402f3d5..0837115f 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -1,6 +1,10 @@ name: Setup description: Setup Node.js and install dependencies +env: + SKIP_YARN_COREPACK_CHECK: true + COREPACK_ROOT: true + runs: using: composite steps: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c5ee1fa..7fc93432 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,10 @@ on: branches: - main +env: + SKIP_YARN_COREPACK_CHECK: true + COREPACK_ROOT: true + jobs: lint: runs-on: ubuntu-latest diff --git a/src/screens/CreatePost/index.tsx b/src/screens/CreatePost/index.tsx index 73cfe590..9d92096d 100644 --- a/src/screens/CreatePost/index.tsx +++ b/src/screens/CreatePost/index.tsx @@ -1,3 +1,4 @@ +/* eslint-disable react-hooks/exhaustive-deps */ import { useNavigation } from '@react-navigation/native'; import type { NativeStackNavigationProp } from '@react-navigation/native-stack'; import React, { useCallback, useEffect, useState } from 'react'; @@ -277,7 +278,6 @@ const CreatePost = ({ route }: any) => { ); setDisplayImages((prev) => [...prev, ...imagesObject]); } - // eslint-disable-next-line react-hooks/exhaustive-deps }, [imageMultipleUri]); const processVideo = async () => { @@ -319,8 +319,6 @@ const CreatePost = ({ route }: any) => { }; useEffect(() => { processVideo(); - - // eslint-disable-next-line react-hooks/exhaustive-deps }, [videoMultipleUri]); const pickImage = async () => {