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
6 changes: 6 additions & 0 deletions .vsts-ci/misc-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ jobs:
condition: succeededOrFailed()

- bash: |
curl -o- --progress-bar -L https://yarnpkg.com/install.sh | bash
displayName: Bootstrap Yarn
condition: succeededOrFailed()

- bash: |
# Installing globally with yarn is a pain, please don't try
sudo npm install -g markdown-spellcheck@0.11.0
Comment thread
RDIL marked this conversation as resolved.
Resolved
# 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
Expand Down
5 changes: 3 additions & 2 deletions test/common/markdown/markdown.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ Describe 'Common Tests - Validate Markdown Files' -Tag 'CI' {
{
$NpmInstalled = "Installed"
Write-Verbose -Message "NPM is checking Gulp is installed. This may take a few moments." -Verbose
start-nativeExecution { npm install --silent }
start-nativeExecution { npm install 'gulp@4.0.0' --silent }
start-nativeExecution { yarn }
start-nativeExecution { yarn add gulp@4.0.0 }
if(!(Get-Command -Name 'gulp' -ErrorAction SilentlyContinue))
{
start-nativeExecution {
# Installing globally with yarn is a pain, please don't try it
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
Expand Down
Loading