Skip to content
This repository has been archived by the owner on Jan 5, 2025. It is now read-only.

Merge pull request #701 from openchatai/feat/handoff-default-componen… #57

Merge pull request #701 from openchatai/feat/handoff-default-componen…

Merge pull request #701 from openchatai/feat/handoff-default-componen… #57

Workflow file for this run

name: Build & Upload the Embededable Script
on:
push:
branches:
- main
paths:
- "copilot-widget/**"
jobs:
build-and-upload-script:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8.12.1
- name: Install dependencies
run: cd copilot-widget/ && pnpm install
- name: Build copilot-widget
run: cd copilot-widget/ && pnpm build:embed
- name: Upload embed as artifact.
uses: actions/upload-artifact@v3
with:
name: copilot-widget@latest
path: copilot-widget/dist