Skip to content

Commit 00198c6

Browse files
authored
Merge pull request #255 from dhensby/ci/ignore-mocha-major
ci: ignore mocha semver-major updates
2 parents 94f31b2 + e250817 commit 00198c6

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,15 @@ updates:
5757
# is only moved when the support floor is raised.
5858
- dependency-name: "@types/node"
5959
update-types: ["version-update:semver-major"]
60+
# Mocha 12 declares engines "^20.19.0 || >=22.12.0" and uses import
61+
# attributes, so it cannot run on Node 16 or 18 — both of which are still
62+
# in the CI test matrix (see also @tsconfig/node16, and the @types/node
63+
# rule above, which holds the same floor). Taking the major would fail
64+
# those legs, and silently dropping them would leave the package claiming
65+
# support for runtimes it never tests. Move this when the support floor is
66+
# deliberately raised, not as a routine dependency bump.
67+
- dependency-name: "mocha"
68+
update-types: ["version-update:semver-major"]
6069
- package-ecosystem: "github-actions" # Keep workflow action versions up to date
6170
directory: "/"
6271
schedule:

0 commit comments

Comments
 (0)