From 07002cfe3f54c544801263c2798b3430a81a01ea Mon Sep 17 00:00:00 2001 From: Pritish Budhiraja <1805317@kiit.ac.in> Date: Mon, 8 Apr 2024 14:51:17 +0530 Subject: [PATCH] fix: build failing issue because of lower node version (#280) --- .eslintrc.json | 3 +-- .github/workflows/CI-Action.yml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index ed774b8f3..03d2d4d82 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -10,7 +10,6 @@ }, "plugins": ["react-hooks"], "rules": { - "react-hooks/rules-of-hooks": "error", - "react-hooks/exhaustive-deps": "warn" + "react-hooks/rules-of-hooks": "error" } } diff --git a/.github/workflows/CI-Action.yml b/.github/workflows/CI-Action.yml index 3dc938931..34e9d7799 100644 --- a/.github/workflows/CI-Action.yml +++ b/.github/workflows/CI-Action.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v2 with: - node-version: "14" + node-version: "20" - name: Install dependencies run: npm install