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 4 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
1 change: 0 additions & 1 deletion libs/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"vite": "^4.4.11"
},
"dependencies": {
"@google/model-viewer": "^1.12.1",
"@vueuse/core": "^9.13.0",
"bulma": "0.9.4",
"vue": "^3.3.4",
Expand Down
9 changes: 8 additions & 1 deletion libs/ui/src/components/MediaItem/type/ModelMedia.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,14 @@
</template>

<script lang="ts" setup>
import '@google/model-viewer'
useHead({
script: [
{
src: 'https://ajax.googleapis.com/ajax/libs/model-viewer/3.3.0/model-viewer.min.js',
},
],
})

roiLeo marked this conversation as resolved.
Show resolved Hide resolved
defineProps<{
animationSrc: string
disableOperation?: boolean
Expand Down
47 changes: 0 additions & 47 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.