From 6cfa3e297e6934e9f08b4c3530791192505870f7 Mon Sep 17 00:00:00 2001 From: ehmiiz Date: Wed, 15 Nov 2023 20:26:18 +0100 Subject: [PATCH] Edit the publish ci --- .github/workflows/publish.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) 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