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
2 changes: 2 additions & 0 deletions .vsts-ci/misc-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ phases:

- bash: |
sudo npm install -g markdown-spellcheck@0.11.0
# Sometimes this folder is left behind with root permissions and is needed by later NPM installs which don't need sudo
sudo rm -rf ~/.npm/_cacache
displayName: Install mdspell
condition: succeededOrFailed()

Expand Down
6 changes: 5 additions & 1 deletion test/common/markdown/markdown-link.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ Describe "Verify Markdown Links" {
if(!(Get-Command -Name 'markdown-link-check' -ErrorAction SilentlyContinue))
{
Write-Verbose "installing markdown-link-check ..." -Verbose
start-nativeExecution { sudo npm install -g markdown-link-check@3.7.2 }
start-nativeExecution {
sudo npm install -g markdown-link-check@3.7.2
# Sometimes this folder is left behind with root permissions and is needed by later NPM installs which don't need sudo
sudo rm -rf ~/.npm/_cacache
}
}

if(!(Get-Module -Name 'ThreadJob' -ListAvailable -ErrorAction SilentlyContinue))
Expand Down
6 changes: 5 additions & 1 deletion test/common/markdown/markdown.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ Describe 'Common Tests - Validate Markdown Files' -Tag 'CI' {
start-nativeExecution { npm install 'gulp@4.0.0' --silent }
if(!(Get-Command -Name 'gulp' -ErrorAction SilentlyContinue))
{
start-nativeExecution { sudo npm install -g 'gulp@4.0.0' --silent }
start-nativeExecution {
sudo npm install -g 'gulp@4.0.0' --silent
# Sometimes this folder is left behind with root permissions and is needed by later NPM installs which don't need sudo
sudo rm -rf ~/.npm/_cacache
}
}
if(!(Get-Command -Name 'node' -ErrorAction SilentlyContinue))
{
Expand Down