Skip to content

Commit

Permalink
tests: fix failing NPM check by replacing it with a NodeJS check inst…
Browse files Browse the repository at this point in the history
…ead (#861)

* tests: fix failing NPM check by replacing it with a NodeJS check instead

Signed-off-by: Damien Duportal <[email protected]>

* fixup

Signed-off-by: Damien Duportal <[email protected]>

---------

Signed-off-by: Damien Duportal <[email protected]>
  • Loading branch information
dduportal authored Oct 19, 2023
1 parent e5f20e3 commit 6f6a95b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion goss/goss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f6a95b

Please sign in to comment.