ci: fix #4
Workflow file for this run
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
name: Build Artifacts | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
build-artifacts: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Make Temp Directory | |
run: | | |
mkdir -p /tmp/langbot_build_web | |
cp -r . /tmp/langbot_build_web | |
- name: Setup Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '22' | |
- name: Build Web | |
run: | | |
cd /tmp/langbot_build_web/web | |
npm install | |
npm run build | |
- name: Package Output | |
run: | | |
cp -r /tmp/langbot_build_web/web/dist ./web | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: langbot_output | |
path: . |