Skip to content

Commit

Permalink
Update actions/checkout workflow to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Oct 23, 2024
1 parent d7a3cd4 commit 623fc3e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,30 @@ 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 install

- name: Sonar analysis
uses: sonarsource/sonarcloud-github-action@master
with:
projectBaseDir: .
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

0 comments on commit 623fc3e

Please sign in to comment.