Skip to content

Commit

Permalink
chore: run lint action when NPM dependencies change (#1554)
Browse files Browse the repository at this point in the history
Right now the lint GitHub Action only runs when lintable files (JS, MD, SCSS) are modified. This PR will also trigger the lint action when the package.json and/or package-lock.json files change so that we can better assess the impact of, say, a Dependabot update to Stylelint.
  • Loading branch information
greatislander authored Sep 19, 2023
1 parent 7802bd4 commit a73b4a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@ name: Lint assets
on:
push:
paths:
- 'package.json'
- 'package-lock.json'
- '**.js'
- '**.md'
- '**.scss'
- '!src/collections/**.md'
pull_request:
paths:
- 'package.json'
- 'package-lock.json'
- '**.js'
- '**.md'
- '**.scss'
Expand Down

0 comments on commit a73b4a6

Please sign in to comment.