From 4cacc389ced80444b634d40a2e9c37546a0fb5c0 Mon Sep 17 00:00:00 2001 From: MichalKinas <113341662+MichalKinas@users.noreply.github.com> Date: Mon, 2 Sep 2024 09:02:53 +0200 Subject: [PATCH] [ACS-8660] Fix daily cron e2e (#4077) --- .github/workflows/pull-request.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 7f6ca3399d..8c078e0c3f 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -28,7 +28,6 @@ env: jobs: lint: - if: ${{ github.event_name == 'pull_request' }} name: 'lint' runs-on: ubuntu-latest steps: @@ -43,7 +42,13 @@ jobs: node-version-file: '.nvmrc' cache: 'npm' - run: npm ci - - run: npm run affected:lint -- --base=origin/develop + + - name: lint affected + if: ${{ github.event_name == 'pull_request' }} + run: npm run affected:lint -- --base=origin/develop + - name: lint all + if: ${{ github.event_name != 'pull_request' }} + run: npx nx run-many --target=lint - run: npm run stylelint build: