Skip to content

Commit

Permalink
UI build in ci (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
CrystalWindSnake authored Nov 13, 2024
1 parent e6ddaaf commit b71f0dc
Show file tree
Hide file tree
Showing 12 changed files with 57 additions and 13,937 deletions.
22 changes: 22 additions & 0 deletions .github/actions/build-vue-component/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build Vue Component
description: Builds a Vue component


runs:
using: "composite"
steps:
- name: set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install pnpm
run: npm install -g pnpm
shell: bash
- name: install dependencies
run: pnpm install
shell: bash
working-directory: vue_component
- name: build vue component
shell: bash
run: pnpm run build
working-directory: vue_component
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: build vue component
uses: ./.github/actions/build-vue-component
- name: set up Poetry
uses: abatilo/[email protected]
with:
Expand All @@ -39,6 +41,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: build vue component
uses: ./.github/actions/build-vue-component
- name: set up Poetry
uses: abatilo/[email protected]
with:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -166,3 +166,5 @@ cython_debug/
# **/tailwindcss.db
# nicegui_toolkit/layout_tool/**/trackBall.js
tools/tailwindcss/files/*
nicegui_toolkit/layout_tool/track_ball/trackBall.js
nicegui_toolkit/layout_tool/track_ball/libs/trackBall.css
1 change: 0 additions & 1 deletion nicegui_toolkit/layout_tool/track_ball/libs/trackBall.css

This file was deleted.

Loading

0 comments on commit b71f0dc

Please sign in to comment.