ci: fix snyk.yaml
and release.yaml
for Node v20
#11461
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #11459 , Fixes #11410 (comment)
Motivation
There was some breakage in different CI workflows due to the node v20 upgrade in #11410
ci-build.yaml
but notsynk.yaml
node.engines
requirement--openssl-legacy-provider
was set inrelease.yaml
'sNODE_OPTIONS
env, but not the otherspackage.json
, so no need to set it globally as an env varcheckout
: https://github.com/argoproj/argo-workflows/actions/runs/5676125574/job/15383405669Modifications
actions/setup-node@v3
withnode-version: "20"
tosnyk.yaml
--openssl-legacy-provider
fromrelease.yaml
Verification
CI build should pass now
Future Work
Ideally, we should update more NPM deps so that this flag is not needed