From cc8fa38be031fa5557883061b4768a76bb6ae056 Mon Sep 17 00:00:00 2001 From: Alok Gupta Date: Wed, 31 Jul 2024 15:47:21 +0530 Subject: [PATCH] cleanup(ci.yml): removed build job from ci.yml --- .github/workflows/ci.yml | 49 ---------------------------------------- 1 file changed, 49 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4bab9cad..0d1584d7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,52 +91,3 @@ jobs: echo "$file is unauthorized to change/delete" done exit 1 - - build: - name: Build check - needs: code-quality-checks - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - submodules: recursive - - - name: Get yarn cache directory path - id: yarn-cache-dir-path - run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - - - name: Cache Node dependencies - uses: actions/cache@v4 - id: yarn-cache - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - - - if: ${{ steps.yarn-cache.outputs.cache-hit != 'true' }} - name: List the state of node modules - continue-on-error: true - run: yarn list - - - name: Cache Next Build - uses: actions/cache@v4 - with: - path: | - ${{ steps.yarn-cache-dir-path.outputs.dir }} - ${{ github.workspace }}/.next/cache - key: ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }} - restore-keys: | - ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}- - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - - - name: Install dependencies - run: yarn install --frozen-lockfile - - - name: Build - run: yarn run build \ No newline at end of file