Merge pull request #20 from TransferGo/ENG-13398 #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Happi Demo | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Set up Node Js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.16 | |
- name: Install Dependencies | |
run: npm install | |
- name: Build Demo | |
run: npm run build | |
env: | |
CI: "" | |
- name: Create Archive | |
run: zip -r build.zip build | |
- name: Upload Archive | |
uses: actions/upload-artifact@v3 | |
with: | |
name: happi-demo.zip | |
path: build.zip |