We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28ef564 commit 5e5dbc5Copy full SHA for 5e5dbc5
.github/workflows/sonarcloud.yml
@@ -10,6 +10,8 @@ jobs:
10
sonarcloud:
11
name: SonarCloud
12
runs-on: ubuntu-latest
13
+ env:
14
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
15
16
steps:
17
# Checkout
@@ -21,6 +23,8 @@ jobs:
21
23
- name: Cache node modules
22
24
id: cache-npm
25
uses: actions/cache@v3
26
27
+ cache-name: cache-node-modules
28
with:
29
path: ~/.npm
30
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
@@ -44,5 +48,4 @@ jobs:
44
48
- name: SonarCloud Scan
45
49
uses: SonarSource/[email protected]
46
50
env:
47
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
- SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
51
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments