Skip to content

Commit

Permalink
Use pwsh as the shell for running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Radu Vasilascu committed Dec 12, 2023
1 parent 059819e commit f6334c2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm ci
- name: pester
uses: Amadevus/pwsh-script@v2.0.3
with:
script: |
if (!(Get-Module -ListAvailable -Name Pester)) { Install-Module -Name Pester -Scope CurrentUser }
Invoke-Pester
run: |
Set-PSRepository psgallery -InstallationPolicy trusted
Install-Module -Name Pester -RequiredVersion 5.5.0 -Confirm:$false -Force
Invoke-Pester
shell: pwsh

0 comments on commit f6334c2

Please sign in to comment.