Skip to content

Commit

Permalink
linter.yml: also install dependencies for PR branch (#12262)
Browse files Browse the repository at this point in the history
  • Loading branch information
renebaudisch committed Sep 22, 2024
1 parent 20c1898 commit 1536afc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
- name: Check out PR
run: git checkout ${{ github.event.pull_request.head.sha }}

- name: Install dependencies
run: npm ci

- name: Run linter on PR
run: npx eslint --no-inline-config --format json $(cat __changed_files.txt | xargs stat --printf '%n\n' 2> /dev/null) > __pr.json || true

Expand Down

0 comments on commit 1536afc

Please sign in to comment.