X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.github%2Fworkflows%2Fci.yml;h=1334244836579dad6c6694bba61cc9ad58765aa1;hb=6eddb71902ac0d0552f705190aaf62525f07c476;hp=fef46bc437f684580e3b5715117b42ba3ad9d407;hpb=9c6af3b023275ccee30595bfb19a4a715df83351;p=e-mobility-charging-stations-simulator.git diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fef46bc4..13342448 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: strategy: matrix: os: [windows-latest, macos-latest, ubuntu-latest] - node: ['20.x', '21.x'] + node: ['20.x', 'latest'] name: Build simulator with Node ${{ matrix.node }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} steps: @@ -35,16 +35,16 @@ jobs: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - name: Dependency Review if: ${{ github.event_name == 'push' && matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }} - uses: actions/dependency-review-action@v3 + uses: actions/dependency-review-action@v4 with: base-ref: ${{ github.ref_name }} head-ref: ${{ github.sha }} - name: Pull Request Dependency Review if: ${{ github.event_name == 'pull_request' && matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }} - uses: actions/dependency-review-action@v3 - - uses: pnpm/action-setup@v2 + uses: actions/dependency-review-action@v4 + - uses: pnpm/action-setup@v3 with: - version: 8 + version: 9 - name: Setup node ${{ matrix.node }} uses: actions/setup-node@v4 with: @@ -67,7 +67,7 @@ jobs: run: pnpm coverage - name: SonarCloud Scan if: ${{ needs.check-secrets.outputs.sonar-token-exists == 'true' && github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }} - uses: sonarsource/sonarcloud-github-action@v2.0.2 + uses: sonarsource/sonarcloud-github-action@v2.1.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} @@ -76,7 +76,7 @@ jobs: strategy: matrix: os: [windows-latest, macos-latest, ubuntu-latest] - node: ['18.x', '20.x', '21.x'] + node: ['18.x', '20.x', 'latest'] name: Build dashboard with Node ${{ matrix.node }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} defaults: @@ -88,16 +88,16 @@ jobs: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - name: Dependency Review if: ${{ github.event_name == 'push' && matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }} - uses: actions/dependency-review-action@v3 + uses: actions/dependency-review-action@v4 with: base-ref: ${{ github.ref_name }} head-ref: ${{ github.sha }} - name: Pull Request Dependency Review if: ${{ github.event_name == 'pull_request' && matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }} - uses: actions/dependency-review-action@v3 - - uses: pnpm/action-setup@v2 + uses: actions/dependency-review-action@v4 + - uses: pnpm/action-setup@v3 with: - version: 8 + version: 9 - name: Setup node ${{ matrix.node }} uses: actions/setup-node@v4 with: @@ -120,7 +120,7 @@ jobs: run: pnpm coverage - name: SonarCloud Scan if: ${{ needs.check-secrets.outputs.sonar-token-exists == 'true' && github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }} - uses: sonarsource/sonarcloud-github-action@v2.0.2 + uses: sonarsource/sonarcloud-github-action@v2.1.1 with: projectBaseDir: ui/web env: