From d14c41933188eabe159e1d3004b17e7f9729b54f Mon Sep 17 00:00:00 2001 From: Deivid Donchev <85338879+DNDonchev20@users.noreply.github.com> Date: Sun, 10 Dec 2023 07:57:44 +0200 Subject: [PATCH] Update deployment config --- .github/workflows/main_spectra-webapi.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main_spectra-webapi.yml b/.github/workflows/main_spectra-webapi.yml index 2dae411..4a9351e 100644 --- a/.github/workflows/main_spectra-webapi.yml +++ b/.github/workflows/main_spectra-webapi.yml @@ -23,12 +23,15 @@ jobs: - name: npm install, build, and test run: | - npm install - npm run build --if-present - npm run test --if-present + cd server + npm i + npm install typescript + npx tsc + cp node_modules ./dist + - name: Zip artifact for deployment - run: zip release.zip ./* -r + run: zip release.zip ./server/dist* -r - name: Upload artifact for deployment job uses: actions/upload-artifact@v3