This repository has been archived by the owner on Jan 5, 2025. It is now read-only.
Merge pull request #221 from openchatai/falta/widget-enhancments-2 #8
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
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "copilot-widget/**" | |
jobs: | |
build-and-publish: | |
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 | |
- name: Upload embed as artifact. | |
uses: actions/upload-artifact@v3 | |
with: | |
name: copilot-widget@latest | |
path: copilot-widget/dist |