Skip to content

Commit

Permalink
run when package lock changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jsumners-nr committed May 23, 2024
1 parent 75ecad1 commit c8120ea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,17 @@ jobs:
- uses: dorny/paths-filter@v3
id: filter
with:
# We only want the test suites to run when code has changed, or when
# a dependency update has occurred. We detect a dependency update
# by noticing changes in the package lock (as it only gets changes
# when dependencies have changed).
filters: |
javascript:
- 'api.js'
- 'esm-loader.mjs'
- 'index.js'
- 'stub_api.js'
- 'package-lock.json'
- 'lib/**/*.{js,json,mjs,cjs}'
- 'test/**/*.{js,json,mjs,cjs}'
Expand Down

0 comments on commit c8120ea

Please sign in to comment.