diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5a07bd3b9b..9dc59602a4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: persist-credentials: false fetch-depth: 0 @@ -49,12 +49,18 @@ jobs: ${{ runner.os }}-build- ${{ runner.os }}- - - run: npm ci - - run: npx nx workspace-lint - - run: npx nx format:check --base=$NX_BASE --head=$NX_HEAD - - run: npx nx affected --base=$NX_BASE --head=$NX_HEAD --target=lint --parallel=3 - - run: npx nx affected --base=$NX_BASE --head=$NX_HEAD --target=test --parallel=3 --ci --code-coverage - - run: npx nx affected --target=build --parallel=3 + - name: Install + run: npm ci + - name: Workspace lint + run: npx nx workspace-lint + - name: Format check + run: npx nx format:check --base=$NX_BASE --head=$NX_HEAD + - name: Lint affected --quiet + run: npx nx affected --base=$NX_BASE --head=$NX_HEAD --target=lint --parallel=3 --quiet + - name: Test affected + run: npx nx affected --base=$NX_BASE --head=$NX_HEAD --target=test --parallel=3 --ci --code-coverage + - name: Build affected + run: npx nx affected --target=build --parallel=3 gh-pages: runs-on: ubuntu-latest