Skip to content

Commit

Permalink
fix: added artifact build
Browse files Browse the repository at this point in the history
  • Loading branch information
BKristenssonAlfsson committed Jun 25, 2020
1 parent c3d7e71 commit 97b81fd
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,30 @@ jobs:
./coverage/coverage-final.json
./coverage/jest/coverage-final.json
fail_ci_if_error: true # optional (default = false)

- name: Upload Artifact
- uses: actions/upload-artifact@master
with:
name: Ambianic-UI
path: /home/runner/work/ambianic-ui/ambianic-ui

deploy:
runs-on: ubuntu-latest
needs: test
steps:
- name: Download Artifact
- uses: actions/download-artifact@master
with:
name: Ambianic-UI
path: /home/runner/work/ambianic-ui/ambianic-ui

- name: Debugging
run: |
pwd
ls -al
- name: Build PWA distribution for production
run: |
pwd
ls -al
npm run build --if-present
env:
CI: true
Expand Down

0 comments on commit 97b81fd

Please sign in to comment.