mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-14 11:05:52 +02:00
Run all tests if package-lock.json changes
If one of our dependencies changes it can have an effect on all tests we have, for instance via the test runner, bundler or coverage collector. This commit therefore updates all workflows that work with a file-based allowlist to also trigger on `package-lock.json` changes so that we have more certainty that any unintended effects of dependency updates can't go by unnoticed, and thus improve stability.
This commit is contained in:
parent
cbdea64c8a
commit
174fd47973
2
.github/workflows/coverage_browser_tests.yml
vendored
2
.github/workflows/coverage_browser_tests.yml
vendored
@ -4,6 +4,7 @@ on:
|
||||
paths:
|
||||
- 'gulpfile.mjs'
|
||||
- 'external/**'
|
||||
- 'package-lock.json'
|
||||
- 'src/**'
|
||||
- 'test/images/**'
|
||||
- 'test/pdfs/**'
|
||||
@ -21,6 +22,7 @@ on:
|
||||
paths:
|
||||
- 'gulpfile.mjs'
|
||||
- 'external/**'
|
||||
- 'package-lock.json'
|
||||
- 'src/**'
|
||||
- 'test/images/**'
|
||||
- 'test/pdfs/**'
|
||||
|
||||
2
.github/workflows/font_tests.yml
vendored
2
.github/workflows/font_tests.yml
vendored
@ -4,6 +4,7 @@ on:
|
||||
paths:
|
||||
- 'gulpfile.mjs'
|
||||
- 'external/**'
|
||||
- 'package-lock.json'
|
||||
- 'src/**'
|
||||
- 'test/test.mjs'
|
||||
- 'test/font/**'
|
||||
@ -14,6 +15,7 @@ on:
|
||||
paths:
|
||||
- 'gulpfile.mjs'
|
||||
- 'external/**'
|
||||
- 'package-lock.json'
|
||||
- 'src/**'
|
||||
- 'test/test.mjs'
|
||||
- 'test/font/**'
|
||||
|
||||
2
.github/workflows/integration_tests.yml
vendored
2
.github/workflows/integration_tests.yml
vendored
@ -4,6 +4,7 @@ on:
|
||||
paths:
|
||||
- 'gulpfile.mjs'
|
||||
- 'external/**'
|
||||
- 'package-lock.json'
|
||||
- 'src/**'
|
||||
- 'test/test.mjs'
|
||||
- 'test/integration/**'
|
||||
@ -15,6 +16,7 @@ on:
|
||||
paths:
|
||||
- 'gulpfile.mjs'
|
||||
- 'external/**'
|
||||
- 'package-lock.json'
|
||||
- 'src/**'
|
||||
- 'test/test.mjs'
|
||||
- 'test/integration/**'
|
||||
|
||||
1
.github/workflows/publish_coverage_index.yml
vendored
1
.github/workflows/publish_coverage_index.yml
vendored
@ -12,6 +12,7 @@ on:
|
||||
paths:
|
||||
- 'gulpfile.mjs'
|
||||
- 'external/**'
|
||||
- 'package-lock.json'
|
||||
- 'src/**'
|
||||
- 'test/images/**'
|
||||
- 'test/pdfs/**'
|
||||
|
||||
2
.github/workflows/unit_tests.yml
vendored
2
.github/workflows/unit_tests.yml
vendored
@ -4,6 +4,7 @@ on:
|
||||
paths:
|
||||
- 'gulpfile.mjs'
|
||||
- 'external/**'
|
||||
- 'package-lock.json'
|
||||
- 'src/**'
|
||||
- 'test/test.mjs'
|
||||
- 'test/unit/**'
|
||||
@ -15,6 +16,7 @@ on:
|
||||
paths:
|
||||
- 'gulpfile.mjs'
|
||||
- 'external/**'
|
||||
- 'package-lock.json'
|
||||
- 'src/**'
|
||||
- 'test/test.mjs'
|
||||
- 'test/unit/**'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user