fix: make node tool non volatile (#2372)

* fix: make node tool non volatile

Currently downgrading node via setup-node can break later actions

* fix it and lookup on startup

* fix problems

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
ChristopherHX
2024-07-10 17:58:37 +02:00
committed by GitHub
parent 2ad5ff74f8
commit 6de25a53bc
9 changed files with 67 additions and 16 deletions

View File

@@ -257,7 +257,8 @@ func TestNewJobExecutor(t *testing.T) {
},
},
},
Config: &Config{},
Config: &Config{},
nodeToolFullPath: "node",
}
rc.ExprEval = rc.NewExpressionEvaluator(ctx)
executorOrder := make([]string, 0)