chore: use node 20

This commit is contained in:
Jason Song
2024-03-29 10:39:54 +08:00
parent a7b1499fae
commit 98e36d4c9f
5 changed files with 16 additions and 11 deletions

View File

@@ -79,7 +79,7 @@ func (l Labels) PickPlatform(runsOn []string) string {
// So the runner receives a task with a label that the runner doesn't have,
// it happens when the user have edited the label of the runner in the web UI.
// TODO: it may be not correct, what if the runner is used as host mode only?
return "node:18-bookworm"
return "node:20-bookworm"
}
func (l Labels) Names() []string {