From 971cc36f3a1bbd32fcf9e2aa0c8d6ca613c15d26 Mon Sep 17 00:00:00 2001 From: mehmet-erim Date: Tue, 17 Aug 2021 14:08:15 +0300 Subject: [PATCH] update angular gh action --- .github/workflows/angular.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/angular.yml b/.github/workflows/angular.yml index 143dee9800..c4a2bca0e6 100644 --- a/.github/workflows/angular.yml +++ b/.github/workflows/angular.yml @@ -12,9 +12,11 @@ on: - 'dev' jobs: build-test-lint: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 + with: + fetch-depth: 0 - uses: actions/cache@v2 with: @@ -31,17 +33,13 @@ jobs: working-directory: npm/ng-packs - name: Run lint - run: yarn affected:lint + run: yarn affected:lint --base ${{ github.base_ref }} working-directory: npm/ng-packs - name: Run build - run: yarn affected:build + run: yarn affected:build --base ${{ github.base_ref }} working-directory: npm/ng-packs - name: Run test - run: yarn affected:test - working-directory: npm/ng-packs - - - name: Build dev-app - run: yarn build --prod + run: yarn affected:test --base ${{ github.base_ref }} working-directory: npm/ng-packs