diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 98e6eb6..60e07b7 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -30,19 +30,19 @@ jobs: - name: Run ESLint run: npm run lint - sonar: - needs: lint - runs-on: self-hosted - container: - image: node:20-alpine - steps: - - name: Manual Git Checkout and Prepare - run: | - apk add --no-cache git curl bash - git init - git remote add origin ${{ env.REPO_URL }}/${{ github.repository }}.git - git fetch --depth 1 origin ${{ github.ref }} - git checkout FETCH_HEAD + sonar: + needs: lint + runs-on: self-hosted + container: + image: node:20-alpine + steps: + - name: Manual Git Checkout and Prepare + run: | + apk add --no-cache git curl bash + git init + git remote add origin ${{ env.REPO_URL }}/${{ github.repository }}.git + git fetch --depth 1 origin ${{ github.ref }} + git checkout FETCH_HEAD - name: Install Node.js and Sonar Scanner run: |