From 3b736165db34060f3083856f35134551a94572c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kysel=C3=A1k?= Date: Fri, 29 Dec 2023 13:08:37 +0000 Subject: [PATCH] ci: add build and test step Add Build and Test step to run tests before actual deployment. --- .../azure-static-web-apps-jolly-forest-00580aa03.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/azure-static-web-apps-jolly-forest-00580aa03.yml b/.github/workflows/azure-static-web-apps-jolly-forest-00580aa03.yml index 8e0976f..2554b01 100644 --- a/.github/workflows/azure-static-web-apps-jolly-forest-00580aa03.yml +++ b/.github/workflows/azure-static-web-apps-jolly-forest-00580aa03.yml @@ -19,6 +19,11 @@ jobs: with: submodules: true lfs: false + - name: Build And Test + run: | + npm ci + npm run build --if-present + npm test - name: Build And Deploy id: builddeploy uses: Azure/static-web-apps-deploy@v1