Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔧 libs/ui CI build on push #7702

Merged
merged 10 commits into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/build.libs-ui.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build libs/ui package

on:
push:
branches: [ main, beta, production, nuxt ]
paths:
- 'libs/ui/**'
pull_request:
branches: [ main, beta, production, nuxt ]
paths:
- 'libs/ui/**'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18

- name: Install dependencies
uses: ./.github/actions/pnpm-install
- run: cd libs/ui && pnpm histoire build
Empty file.
2 changes: 1 addition & 1 deletion libs/ui/histoire.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { defineConfig } from 'histoire'
import { HstVue } from '@histoire/plugin-vue'
import vue from '@vitejs/plugin-vue'
// import vue from 'vue'
import { resolve } from 'path'

export default defineConfig({
Expand All @@ -14,6 +13,7 @@ export default defineConfig({
alias: {
'@': resolve(__dirname, '../../'),
'~': resolve(__dirname, '../../'),
'@google/model-viewer': './__mocks__/model-viewer.js',
},
},
},
Expand Down
3 changes: 2 additions & 1 deletion libs/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@
"vite": "^4.4.11"
},
"dependencies": {
"@google/model-viewer": "^1.12.1",
"@google/model-viewer": "^3.3.0",
"@vueuse/core": "^9.13.0",
"bulma": "0.9.4",
"three": "^0.157.0",
"vue": "^3.3.4",
"vue-audio-visual": "2.5.0"
}
Expand Down
1 change: 1 addition & 0 deletions libs/ui/src/components/MediaItem/type/ModelMedia.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

<script lang="ts" setup>
import '@google/model-viewer'

defineProps<{
animationSrc: string
disableOperation?: boolean
Expand Down
Loading