From 415bb40956f16aa5b0d8ba7716289dcf02b57bdc Mon Sep 17 00:00:00 2001 From: Fedor Korotkov Date: Thu, 18 Apr 2024 19:11:25 +0200 Subject: [PATCH] Install Node.js LTS (#143) Right now `brew install node` installs the current version 21 of Node.js. Let's make sure we install an LTS version. It's updated not that often so can update it manually. --- templates/base.pkr.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/base.pkr.hcl b/templates/base.pkr.hcl index cb836e8..2b1284e 100644 --- a/templates/base.pkr.hcl +++ b/templates/base.pkr.hcl @@ -85,7 +85,7 @@ build { provisioner "shell" { inline = [ "source ~/.zprofile", - "brew install node", + "brew install node@20", "node --version", "npm install --global yarn", "yarn --version",