From 87e15118e0588223762bcdbda0ccbc216ed7f8f5 Mon Sep 17 00:00:00 2001 From: yerlantemir Date: Wed, 9 Aug 2023 17:07:12 +0600 Subject: [PATCH] set yarn install network concurrency --- .github/workflows/ci-cd.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 211354b..a8dc750 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -35,7 +35,7 @@ jobs: rm -rf $(yarn cache dir) - name: Install Dependencies - run: yarn install + run: yarn install --network-concurrency 1 - name: Build Shared Package run: | @@ -51,7 +51,8 @@ jobs: - name: Build Frontend Project run: | cd frontend - vercel env add plain NEXT_PUBLIC_VERSION $VERSION production --token=${{ secrets.VERCEL_TOKEN }} + vercel env add NEXT_PUBLIC_VERSION production --token=${{ secrets.VERCEL_TOKEN }} + vercel env set NEXT_PUBLIC_VERSION $VERSION production --token=${{ secrets.VERCEL_TOKEN }} vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} - name: Deploy Frontend Project to Vercel