ci: use Node.js 22 for ES-module foreign tests
CI / fmt + clippy + test (Linux x86_64) (push) Waiting to run
CI / schema instance validation + consumers (push) Waiting to run
CI / runtime contract (macos-latest) (push) Waiting to run
CI / runtime contract (windows-latest) (push) Waiting to run
ci/woodpecker/push/woodpecker Pipeline was successful

Debian bookworm's Node 18 rejects the ES-module syntax used by the foreign-kernel
tests; install NodeSource 22 before cargo test.
This commit is contained in:
cflmy committed 2026-11-20 23:53:41 +08:00
1 parent 78fad5d1c6
commit c28482840b
1 file changed
+2
+2
View File
@@ -10,6 +10,8 @@ steps:
commands: commands:
- rustup component add clippy rustfmt - rustup component add clippy rustfmt
- apt-get update - 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 - apt-get install -y --no-install-recommends nodejs
- cargo fmt --all -- --check - cargo fmt --all -- --check
- cargo clippy --workspace --all-targets -- -D warnings - cargo clippy --workspace --all-targets -- -D warnings