Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,6 @@ if ($null -eq $PackageVersion)

Write-Host "Using version $PackageVersion"

# Some CI agents have stale npm auth tokens in user or global .npmrc files
# (e.g. C:\Users\cloudtest\.npmrc) that cause E401 errors against the public
# dotnet-public-npm feed. Override both config paths so npm ignores stale
# agent-level credentials and accesses the public feed anonymously.
$env:NPM_CONFIG_USERCONFIG = "$env:TEMP\no-user-npmrc"
$env:NPM_CONFIG_GLOBALCONFIG = "$env:TEMP\no-global-npmrc"

# Write-Information "Building Report Publishing task"
Set-Location $PSScriptRoot/tasks/PublishAIEvaluationReport
npm ci --omit=dev
Expand Down Expand Up @@ -62,4 +55,4 @@ if ($true -eq $IncludeTestPackage) {

# Build Preview version of the extension for testing
npx tfx-cli extension create --overrides-file $PSScriptRoot/override.json --output-path $OutputPath
}
}
Loading
Loading