X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.github%2Fworkflows%2Fci.yml;h=48e5cfb9a9de7e94d2fe1950d8f674fce2f63535;hb=97ea01ab1ab0078f6b9c0b7c7c9fdfa2592abb3a;hp=1318de3c69e3610bc04429d95fcd9afe3ec52548;hpb=25d7bec9c46ffcb006d85feab8d44a90d3be823a;p=e-mobility-charging-stations-simulator.git diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1318de3c..48e5cfb9 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,14 +35,14 @@ 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 - name: Setup node ${{ matrix.node }} @@ -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.1.0 + 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,14 +88,14 @@ 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 - name: Setup node ${{ matrix.node }} @@ -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.1.0 + uses: sonarsource/sonarcloud-github-action@v2.1.1 with: projectBaseDir: ui/web env: