Skip to content

Merge pull request #43 from OpenDDS/dependabot/npm_and_yarn/ui/vite-3… #93

Merge pull request #43 from OpenDDS/dependabot/npm_and_yarn/ui/vite-3…

Merge pull request #43 from OpenDDS/dependabot/npm_and_yarn/ui/vite-3… #93

Workflow file for this run

name: Build and zip web UI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
env:
NAME: opendds-performance-dashboard
steps:
- name: Checkout opendds-performance-dashboard
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install UI
run: |
cd ui
npm ci
- name: Build UI
run: |
cd ui
npm run build
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: ${{env.NAME}}
path: ui/dist