Skip to content

Merge pull request #371 from openchatai/widget/minor-fixes #14

Merge pull request #371 from openchatai/widget/minor-fixes

Merge pull request #371 from openchatai/widget/minor-fixes #14

Workflow file for this run

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