Skip to content

Commit

Permalink
Update deployment config
Browse files Browse the repository at this point in the history
  • Loading branch information
DNDonchev20 authored Dec 10, 2023
1 parent 686a9cd commit d14c419
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/main_spectra-webapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d14c419

Please sign in to comment.