mirror of
https://github.com/actions/node-versions.git
synced 2025-09-13 09:26:15 +08:00
Update to Pester 5
This commit is contained in:
10
.github/workflows/build-node-packages.yml
vendored
10
.github/workflows/build-node-packages.yml
vendored
@@ -104,15 +104,9 @@ jobs:
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
Install-Module Pester -Force -Scope CurrentUser -RequiredVersion 4.10.1
|
||||
Install-Module Pester -Force -Scope CurrentUser
|
||||
Import-Module Pester
|
||||
$pesterParams = @{
|
||||
Path="./Node.Tests.ps1";
|
||||
Parameters=@{
|
||||
Version="$env:VERSION";
|
||||
}
|
||||
}
|
||||
Invoke-Pester -Script $pesterParams -EnableExit
|
||||
Invoke-Pester -Script ./Node.Tests.ps1 -EnableExit
|
||||
working-directory: ./tests
|
||||
|
||||
publish_release:
|
||||
|
Reference in New Issue
Block a user