Skip to content

build: 📦 nx monorepo to v20.4.3 #711

build: 📦 nx monorepo to v20.4.3

build: 📦 nx monorepo to v20.4.3 #711

Workflow file for this run

name: PRs
on:
pull_request:
types: [opened, synchronize, reopened]
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
jobs:
pr-test:
uses: ./.github/workflows/basic-test.yml
pr-e2e-test:
uses: ./.github/workflows/e2e-test.yml
check-commit-lint:
name: Check commit message follows guidelines
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Execute commitlint
run: npx commitlint --from="origin/$BASE_REF"
env:
BASE_REF: ${{ github.base_ref }}
check-file-format:
name: Check files changes follow guidelines
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Check if Prettier was run
run: npx pretty-quick --check
backwards-compatibility-test:
name: Backwards compatibility test
needs: [pr-test]
uses: ./.github/workflows/backwards-compatibility-test.yml
# Test sonarcloud analysis
# pr-analysis:
# name: SonarCloud Pr Analysis
# runs-on: ubuntu-latest
# needs: pr-test
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
# # Download reports
# - uses: ./.github/actions/download-coverage-report
# - uses: ./.github/actions/download-lint-report
# - name: 'Verify reports'
# run: |
# pwd
# echo 'Lint report'
# ls -la ./coverage/packages/ngx-deploy-npm/lcov.info
# echo 'Coverage report'
# ls -la ./reports/ngx-deploy-npm/lint-report.info
# - name: SonarCloud Scan
# uses: SonarSource/[email protected]
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
# SONAR_TOKEN: ${{ secrets.SONARQUBE_SCANNER }}
# with:
# args: >
# -Dsonar.pullrequest.key=${{ github.env.PR_NUMBER }}