File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
1010export HOMEBREW_NO_AUTO_UPDATE=1
1111export HOMEBREW_NO_ANALYTICS=1
1212
13- brew install node@18
14- brew link --overwrite node@18
13+ brew reinstall node@20
14+ brew link --overwrite node@20
15151616brew link --overwrite
[email protected]
Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ if ( $null -eq $env:ChocolateyInstall ) {
2121New-Item - Path " ${PSScriptRoot} \..\tmp\chocolatey" - ItemType " directory" - ErrorAction:SilentlyContinue
2222choco source add -- name= " cache" -- source= " ${PSScriptRoot} \..\tmp\chocolatey" -- priority= 1
2323
24- # Install nodejs v18.15.0 (will use cache if exists)
24+ # Install nodejs v20.5.1 (will use cache if exists)
2525$nodejs = " nodejs.install"
26- choco install " $nodejs " -- version= " 18.15.0 " -- require- checksums - y
26+ choco install " $nodejs " -- version= " 20.5.1 " -- require- checksums - y
2727# Internalise nodejs to cache if doesn't exist
28- if ( -not (Test-Path - Path " ${PSScriptRoot} \..\tmp\chocolatey\$nodejs \$nodejs .18.15.0 .nupkg" - PathType Leaf) ) {
28+ if ( -not (Test-Path - Path " ${PSScriptRoot} \..\tmp\chocolatey\$nodejs \$nodejs .20.5.1 .nupkg" - PathType Leaf) ) {
2929 Save-ChocoPackage - PackageName $nodejs
3030}
3131
You can’t perform that action at this time.
0 commit comments