File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ jobs:
2121 node-version : [20.x]
2222 steps :
2323 - name : Checkout repo
24- uses : actions/checkout@v3
24+ uses : actions/checkout@v4
2525
2626 - name : Use Node.js ${{ matrix.node-version }}
27- uses : actions/setup-node@v2
27+ uses : actions/setup-node@v4
2828 with :
2929 node-version : ${{ matrix.node-version }}
3030 registry-url : ' https://npm.pkg.github.com'
Original file line number Diff line number Diff line change 99 sonarcloud :
1010 name : SonarCloud
1111 runs-on : ubuntu-latest
12+ strategy :
13+ matrix :
14+ node-version : [20.x]
1215 steps :
13- - uses : actions/checkout@v3
16+ - uses : actions/checkout@v4
1417 with :
15- fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
18+ fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
1619
1720 - name : Set up Node.js ${{ matrix.node-version }}
18- uses : actions/setup-node@v1
21+ uses : actions/setup-node@v4
1922 with :
2023 node-version : ${{ matrix.node-version }}
2124 registry-url : ' https://npm.pkg.github.com'
22-
25+
2326 - run : echo "registry=https://registry.yarnpkg.com/" > .npmrc
2427 - run : echo "@internxt:registry=https://npm.pkg.github.com" >> .npmrc
2528 # You cannot read packages from other private repos with GITHUB_TOKEN
3437 run : yarn test:cov
3538
3639 - name : SonarCloud Scan
37- uses : SonarSource/sonarcloud-github -action@master
40+ uses : SonarSource/sonarqube-scan -action@v5
3841 env :
39- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
40- SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
42+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
43+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
You can’t perform that action at this time.
0 commit comments