fix: correct YAML indentation in workflow
This commit is contained in:
parent
40235d62a8
commit
fae3ee2c24
1 changed files with 12 additions and 12 deletions
|
|
@ -36,20 +36,20 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: node:20-alpine
|
image: node:20-alpine
|
||||||
steps:
|
steps:
|
||||||
- name: Manual Git Checkout and Prepare
|
- name: Manual Git Checkout and Prepare
|
||||||
run: |
|
run: |
|
||||||
apk add --no-cache git curl bash
|
apk add --no-cache git curl bash
|
||||||
git init
|
git init
|
||||||
git remote add origin ${{ env.REPO_URL }}/${{ GITEA_REPO }}.git
|
git remote add origin ${{ env.REPO_URL }}/${{ GITEA_REPO }}.git
|
||||||
git fetch --depth 1 origin ${{ GITEA_REF }}
|
git fetch --depth 1 origin ${{ GITEA_REF }}
|
||||||
git checkout FETCH_HEAD
|
git checkout FETCH_HEAD
|
||||||
|
|
||||||
- name: Install Node.js and Sonar Scanner
|
- name: Install Node.js and Sonar Scanner
|
||||||
run: |
|
run: |
|
||||||
apk add --no-cache nodejs npm curl
|
apk add --no-cache nodejs npm curl
|
||||||
npm install -g sonarqube-scanner
|
npm install -g sonarqube-scanner
|
||||||
|
|
||||||
- name: SonarQube Scan
|
- name: SonarQube Scan
|
||||||
env:
|
env:
|
||||||
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
|
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
|
||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue