diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a073365..c1e3956 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,9 +6,14 @@ jobs: name: Publish runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - name: Publish - env: - APIKEY: ${{ secrets.APIKEY }} - run: .\publish.ps1 - shell: pwsh \ No newline at end of file + - name: Check out repo + uses: actions/checkout@v1 + - name: Pester unit tests + shell: pwsh + run: | + Invoke-Pester + - name: Publish + env: + APIKEY: ${{ secrets.APIKEY }} + run: .\publish.ps1 + shell: pwsh \ No newline at end of file