[feat] Tools for pipy sidecar #18
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: GUI Build Test | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- '**.js' | |
- 'gui/**' | |
- 'package.json' | |
- 'package-lock.json' | |
defaults: | |
run: | |
shell: bash | |
working-directory: pipy | |
jobs: | |
build-gui: | |
name: build-gui | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
path: pipy | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Show node version | |
run: | | |
node --version | |
npm --version | |
- name: Build | |
run: | | |
npm install && npm run build |