Skip to content
This repository has been archived by the owner on Sep 11, 2021. It is now read-only.

Commit

Permalink
👷 Update ps1 test
Browse files Browse the repository at this point in the history
  • Loading branch information
felixrieseberg committed Jul 13, 2018
1 parent 33c6997 commit 4c90c7d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/full/test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ Catch [system.exception]
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force

# Run
"Starting Upgrade to 4.0.0"
"Starting Upgrade to 6.0.0"
npm run build
node .\bin\npm-windows-upgrade --npm-version 4.0.0 --no-spinner
node .\bin\npm-windows-upgrade --npm-version 6.0.0 --no-spinner

# Check Output
$npmVersion = npm -v
if ($npmVersion -Eq "4.0.0") {
"Successfully upgraded npm to 4.0.0"
if ($npmVersion -Eq "6.0.0") {
"Successfully upgraded npm to 6.0.0"
exit 0
} else {
"Could not upgrade npm, current version is" + $npmVersion
Expand Down

0 comments on commit 4c90c7d

Please sign in to comment.