From 841d2de35a816c560dcbe94204b42ff810b0de88 Mon Sep 17 00:00:00 2001 From: Paul Robert Lloyd Date: Wed, 23 Oct 2024 17:19:52 +0100 Subject: [PATCH] Update actions/checkout workflow to v4 --- .github/workflows/pull-request.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 97302088f..6bf978708 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -8,13 +8,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 20 cache: 'npm' - + - name: Install dependencies run: npm ci @@ -25,13 +25,13 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} - + SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} + - name: Run linting run: npm run lint - + - name: Run tests run: npm test - + - name: Run backstop run: npm run backstop:ci