File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,8 @@ build:windows:
165
165
- windows
166
166
before_script :
167
167
- mkdir -Force "$CI_PROJECT_DIR/tmp"
168
+ - Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1 # Added line
169
+
168
170
script :
169
171
- .\scripts\choco-install.ps1
170
172
- refreshenv
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ New-Item -Path "${PSScriptRoot}\..\tmp\chocolatey" -ItemType "directory" -ErrorA
22
22
choco source add -- name= " cache" -- source= " ${PSScriptRoot} \..\tmp\chocolatey" -- priority= 1
23
23
24
24
# Install nodejs v20.5.1 (will use cache if exists)
25
- $nodejs = " nodejs.install "
25
+ $nodejs = " nodejs"
26
26
choco install " $nodejs " -- version= " 20.5.1" -- require- checksums - y
27
27
# Internalise nodejs to cache if doesn't exist
28
28
if ( -not (Test-Path - Path " ${PSScriptRoot} \..\tmp\chocolatey\$nodejs \$nodejs .20.5.1.nupkg" - PathType Leaf) ) {
You can’t perform that action at this time.
0 commit comments