From 18435a719df6aad5cdb89b092044725b25fca6df Mon Sep 17 00:00:00 2001 From: aasim Date: Tue, 23 Apr 2024 20:12:05 -0400 Subject: [PATCH] trying another clenaup of workflow --- .github/workflows/pr_ci_frontend.yaml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pr_ci_frontend.yaml b/.github/workflows/pr_ci_frontend.yaml index 5e1916e0e..a20dcbffc 100644 --- a/.github/workflows/pr_ci_frontend.yaml +++ b/.github/workflows/pr_ci_frontend.yaml @@ -56,17 +56,13 @@ jobs: - name: Setup Node environment uses: actions/setup-node@v4 - - name: Adjust permissions - run: sudo chown -R $USER:$USER . && sudo chmod -R 777 . - - name: Install dependencies via Yarn uses: borales/actions-yarn@v5 with: - cmd: install --frozen-lockfile --check-files + cmd: install dir: "frontend" - name: Install Prettier - working-directory: ./frontend run: yarn add prettier - name: Run Prettier - Formatting check @@ -75,13 +71,18 @@ jobs: yarn prettier . --check --config ../.prettierrc --ignore-path ../.prettierignore - name: Run Type Check - working-directory: ./frontend - run: yarn nuxi typecheck + if: always() + uses: borales/actions-yarn@v4 + with: + cmd: nuxi typecheck + dir: "frontend" - name: Run eslint - Linting - working-directory: ./frontend - run: | - yarn eslint . --ext .js,.vue + if: always() + uses: borales/actions-yarn@v4 + with: + cmd: eslint . --ext .js,.vue + dir: "frontend" - name: Install Playwright Browsers working-directory: ./frontend