From cd84b8a8d8ec1db8f6cefcc08239920f37a97f98 Mon Sep 17 00:00:00 2001 From: Muzzamil1 <53085438+Muzzamil1@users.noreply.github.com> Date: Wed, 27 Oct 2021 11:20:11 +0500 Subject: [PATCH] Add env CI: false --- .github/workflows/auto_deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/auto_deploy.yml b/.github/workflows/auto_deploy.yml index 8f4ed85..b7d9738 100644 --- a/.github/workflows/auto_deploy.yml +++ b/.github/workflows/auto_deploy.yml @@ -37,6 +37,8 @@ jobs: - uses: borales/actions-yarn@v2.3.0 with: cmd: build # will run `yarn build` command + env: # To avoid this error -- Treating warnings as errors because process.env.CI = true. + CI: false # Install Surge - name: Install Surge