diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 20b44bb..a54ce3b 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -55,6 +55,10 @@ jobs: - name: Setup Node environment run: | apk add --update nodejs npm + - name: Code checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Prepare environment variables id: prepare-env run: | @@ -62,10 +66,6 @@ jobs: echo CONTAINER_NAME=${{ env.CONTAINER_NAME }} >> $GITHUB_ENV echo VERSION=$(node -p "require('./package.json').version") echo VERSION=$(node -p "require('./package.json').version") >> "$GITHUB_OUTPUT" - - name: Code checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - name: Download build artifacts uses: actions/download-artifact@v3 with: