From d3a26ac17c4a1e17549c5c858d1ee5cd45c0c389 Mon Sep 17 00:00:00 2001 From: Harsh Raj Srivastav <114308429+Harsh-Srivastav123@users.noreply.github.com> Date: Sat, 2 Mar 2024 10:36:41 +0530 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 86374c2..d19fa08 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,16 +19,16 @@ jobs: # # Display npm version # - name: Display npm version # run: npm --version - - name: Use Node.js 20.11.1 + - name: Use Node.js 16 uses: actions/setup-node@v2 with: - node-version: '20.11.1' + node-version: '16.x' - name: stop old container run: sudo docker container stop react-container || true install dependencies - name: Install dependencies - run: npm install + run: npm i # build the react app - name: Build run: npm run build