diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 85da835..92dbc87 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -29,4 +29,5 @@ jobs: - shell: pwsh run: | npm install + pwsh -Command Install-Module -Name Prelude -Scope CurrentUser -Force npm run validate \ No newline at end of file diff --git a/package.json b/package.json index 949a5f1..80b71a0 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,6 @@ "precompile": "npm run format", "compile": "tsp compile ./specs/index.tsp", "prevalidate": "npm run compile", - "validate": "pwsh ./scripts/validate.ps1" + "validate": "pwsh -Command ./scripts/Invoke-Validate.ps1" } } diff --git a/scripts/validate.ps1 b/scripts/Invoke-Validate.ps1 similarity index 100% rename from scripts/validate.ps1 rename to scripts/Invoke-Validate.ps1