Skip to content

Commit

Permalink
chore(renovate): update
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Jan 24, 2024
1 parent e86056d commit bdd3d68
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"ignorePaths": [
"fixtures/**"
],
"packageRules": [
{
"groupName": "github-actions",
"matchManagers": ["github-actions"],
"schedule": ["on monday"],
"assignees": ["@Boshen"]
},
{
"groupName": "crates",
"matchManagers": ["cargo"],
"schedule": ["on monday"],
"assignees": ["@Boshen"]
}
]
}
4 changes: 3 additions & 1 deletion src/tests/fallback.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ fn fallback() {
("/d/dir".into(), vec![AliasValue::Path("/c/dir".into())]),
("/d/index.js".into(), vec![AliasValue::Path("/c/index".into())]),
("ignored".into(), vec![AliasValue::Ignore]),
("node:path".into(), vec![AliasValue::Ignore]),
],
modules: vec!["/".into()],
..ResolveOptions::default()
Expand Down Expand Up @@ -88,7 +89,8 @@ fn fallback() {

#[rustfmt::skip]
let ignore = [
("should resolve an ignore module", "ignored", ResolveError::Ignored(f.join("ignored")))
("should resolve an ignore module", "ignored", ResolveError::Ignored(f.join("ignored"))),
("should resolve node: builtin module", "node:path", ResolveError::Ignored(PathBuf::from("/node:path"))),
];

for (comment, request, expected) in ignore {
Expand Down

0 comments on commit bdd3d68

Please sign in to comment.