Jelajahi Sumber

Add requirements comment to update-npm-dependencies (#56670)

* Add requirements comment to update-npm-dependencies

Unfortunately, it can't be run in a CodeSpace since `vsts-npm-auth` only works on Windows.

* Add note about GH CLI
Andrew Casey 1 tahun lalu
induk
melakukan
21a7d25b9a
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  1. 3 0
      eng/scripts/update-npm-dependencies.ps1

+ 3 - 0
eng/scripts/update-npm-dependencies.ps1

@@ -1,3 +1,6 @@
+# This script needs to be run on PowerShell 7+ (for ConvertFrom-Json) on Windows (for vsts-npm-auth).
+# The GitHub CLI (gh) is required unless `-SkipPullRequestCreation` is passed.
+
 param (
     [switch]$WhatIf,
     [switch]$SkipPullRequestCreation