From bda22fe5f2391badbdd59715ed75d93ab58cff83 Mon Sep 17 00:00:00 2001 From: Rutaj Dash <33367546+rutajdash@users.noreply.github.com> Date: Thu, 26 Aug 2021 22:15:05 +0530 Subject: [PATCH] Update check_pr to only run eslint --- .github/workflows/check_pr.yml | 52 +++++++++++++++------------------- 1 file changed, 23 insertions(+), 29 deletions(-) diff --git a/.github/workflows/check_pr.yml b/.github/workflows/check_pr.yml index e048894..b581419 100644 --- a/.github/workflows/check_pr.yml +++ b/.github/workflows/check_pr.yml @@ -41,35 +41,29 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} eslint_flags: "client/" - prettier: - name: Prettier Check - runs-on: ubuntu-latest - if: github.event.review.state == 'approved' - steps: - - name: Checkout Repository - uses: actions/checkout@v2 - with: - ref: ${{ github.head_ref }} - - - name: Setup Node.js - uses: actions/setup-node@v1 - with: - node-version: "14" + # prettier: + # name: Prettier Check + # runs-on: ubuntu-latest + # if: github.event.review.state == 'approved' + # steps: + # - name: Checkout Repository + # uses: actions/checkout@v2 + # with: + # ref: ${{ github.head_ref }} - - name: Install Dependencies - run: cp client/package.json ./ && yarn install + # - name: Setup Node.js + # uses: actions/setup-node@v1 + # with: + # node-version: "14" - # - name: Prettify code - # uses: creyD/prettier_action@dev - # with: - # prettier_options: -c ./client/.prettierrc - # file_pattern: ./client/. - # dry: true - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # - name: Install Dependencies + # run: cp client/package.json ./ && yarn install - - name: Run linters - uses: wearerequired/lint-action@v1 - with: - prettier: true - prettier_args: "-c ./client/.prettierrc ./client/." + # - name: Prettify code + # uses: creyD/prettier_action@dev + # with: + # prettier_options: -c ./client/.prettierrc + # file_pattern: ./client/. + # dry: true + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}