Merge pull request #864 from mlco2/fix/remove-traceback-cli #50
This file contains hidden or 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 ui | |
on: | |
pull_request: | |
paths: | |
- "webapp/**" | |
- "pyproject.toml" | |
push: | |
paths: | |
- "webapp/**" | |
- "pyproject.toml" | |
branches: [master] | |
jobs: | |
build-ui: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "18" | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Install dependencies | |
working-directory: ./webapp | |
run: pnpm install | |
- name: Build | |
working-directory: ./webapp | |
run: pnpm run build | |
- name: Check formatting with Prettier | |
working-directory: ./webapp | |
run: pnpm exec prettier . --check |