X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.github%2Fworkflows%2Fci.yml;h=1334244836579dad6c6694bba61cc9ad58765aa1;hb=6eddb71902ac0d0552f705190aaf62525f07c476;hp=2e3a29104aeb5511843842ca01ead77955df9b44;hpb=b4c9db33ef4f7c9f4528ca3efb4c17042de83099;p=e-mobility-charging-stations-simulator.git diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e3a2910..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: @@ -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: