From c28482840bed7409bf6b081b52f26ba9d9aa7caf Mon Sep 17 00:00:00 2001 From: cflmy Date: Fri, 20 Nov 2026 23:53:41 +0800 Subject: [PATCH] ci: use Node.js 22 for ES-module foreign tests Debian bookworm's Node 18 rejects the ES-module syntax used by the foreign-kernel tests; install NodeSource 22 before cargo test. --- .woodpecker.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 9744e3f..c8920ea 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -10,6 +10,8 @@ steps: commands: - rustup component add clippy rustfmt - apt-get update + - apt-get install -y --no-install-recommends curl ca-certificates + - curl -fsSL https://deb.nodesource.com/setup_22.x | bash - - apt-get install -y --no-install-recommends nodejs - cargo fmt --all -- --check - cargo clippy --workspace --all-targets -- -D warnings