From 6f6a95b58e75f9126724baf75f2cc672178a76a4 Mon Sep 17 00:00:00 2001 From: Damien Duportal Date: Thu, 19 Oct 2023 17:20:50 +0200 Subject: [PATCH] tests: fix failing NPM check by replacing it with a NodeJS check instead (#861) * tests: fix failing NPM check by replacing it with a NodeJS check instead Signed-off-by: Damien Duportal * fixup Signed-off-by: Damien Duportal --------- Signed-off-by: Damien Duportal --- goss/goss.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/goss/goss.yaml b/goss/goss.yaml index 764b2eec4..536d32bb5 100644 --- a/goss/goss.yaml +++ b/goss/goss.yaml @@ -29,11 +29,15 @@ command: exit-status: 0 stdout: - v0.13.1 + # Only check for execution, do not check for version as it is always "latest available" which changes over time npm: exec: npm version exit-status: 0 + nodejs: + exec: node --version + exit-status: 0 stdout: - - "npm: '10.2.0'" + - 18.17.0 file: /home/jenkins: exists: true