Skip to content

feat(ui): update the gap between the message component and form (#1544) #619

feat(ui): update the gap between the message component and form (#1544)

feat(ui): update the gap between the message component and form (#1544) #619

Workflow file for this run

name: demo-cd
on:
push:
branches: [main]
paths:
- "apps/demo/**"
- "packages/**"
workflow_dispatch:
jobs:
build:
name: Build and Deploy
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v4
name: Use node ${{ matrix.node-version }}
- uses: pnpm/action-setup@v4
name: Setup pnpm and install dependencies
- name: Get current package version
id: package-version
uses: martinbeentjes/npm-get-version-action@v1.3.1
with:
path: "apps/demo"
- name: Install Dependencies
run: pnpm install
- name: Build packages
run: pnpm build --filter=@prefabs.tech/demo
env:
VITE_API_BASE_URL: "https://api.monorepo.prefabs.tech"
VITE_APP_TITLE: 'React Demo'
VITE_APP_VERSION: ${{ steps.package-version.outputs.current-version}}
VITE_APP_BUILD: 'develop'
VITE_APP_COPYRIGHT_HOLDER: 'Prefabs Tech'
VITE_APP_COPYRIGHT_HOLDER_URL: 'https://prefabs.tech'
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
clean: true
folder: apps/demo/dist
token: ${{ secrets.GITHUB_TOKEN }}