Skip to content

Commit

Permalink
Update Node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli committed Nov 12, 2024
1 parent e977ba9 commit 971ea80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions cookieplone/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,22 @@
"3.12",
]

DEFAULT_NODE = 18
DEFAULT_NODE = 20
SUPPORTED_NODE_VERSIONS = [
"16",
"17",
"18",
"19",
"20",
"22",
]


VOLTO_MIN_VERSION = "16"
VOLTO_NODE = {
16: 16,
17: DEFAULT_NODE,
18: 20,
18: 22,
}
MIN_DOCKER_VERSION = "20.10"

Expand Down
2 changes: 1 addition & 1 deletion tests/test_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def func(filter_: str) -> Path:
["package_path", "{{'foo.bar.baz' | package_path}}", "foo/bar/baz"],
["pascal_case", "{{'foo_bar' | pascal_case}}", "FooBar"],
["use_prerelease_versions", "{{ '' | use_prerelease_versions }}", "No"],
["node_version_for_volto", "{{'17' | node_version_for_volto}}", "18"],
["node_version_for_volto", "{{'17' | node_version_for_volto}}", "20"],
["gs_language_code", "{{'ES' | gs_language_code}}", "es"],
["gs_language_code", "{{'es-MX' | gs_language_code}}", "es-mx"],
["locales_language_code", "{{'es-mx' | locales_language_code}}", "es_MX"],
Expand Down

0 comments on commit 971ea80

Please sign in to comment.