mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-01 12:47:57 +01:00
chore(github): improve module workflow
This commit is contained in:
11
.github/workflows/module.yml
vendored
11
.github/workflows/module.yml
vendored
@@ -50,16 +50,19 @@ jobs:
|
|||||||
run: pnpm run typecheck
|
run: pnpm run typecheck
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: pnpm run test
|
run: pnpm run test run
|
||||||
|
|
||||||
- name: Test (vue)
|
- name: Test (vue)
|
||||||
run: pnpm run test:vue
|
run: pnpm run test:vue run
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: pnpm run build
|
run: pnpm run build
|
||||||
|
|
||||||
- name: Build vue fixture
|
- name: Build playground
|
||||||
run: pnpm run test:vue:build
|
run: pnpm run dev:build
|
||||||
|
|
||||||
|
- name: Build playground (vue)
|
||||||
|
run: pnpm run dev:vue:build
|
||||||
|
|
||||||
- name: Publish
|
- name: Publish
|
||||||
run: pnpx pkg-pr-new publish --compact --no-template --pnpm
|
run: pnpx pkg-pr-new publish --compact --no-template --pnpm
|
||||||
|
|||||||
@@ -63,8 +63,9 @@
|
|||||||
"build": "nuxt-module-build build",
|
"build": "nuxt-module-build build",
|
||||||
"prepack": "pnpm build",
|
"prepack": "pnpm build",
|
||||||
"dev": "DEV=true nuxi dev playground",
|
"dev": "DEV=true nuxi dev playground",
|
||||||
"dev:vue": "DEV=true vite playground-vue",
|
|
||||||
"dev:build": "nuxi build playground",
|
"dev:build": "nuxi build playground",
|
||||||
|
"dev:vue": "DEV=true vite playground-vue",
|
||||||
|
"dev:vue:build": "vite build playground-vue",
|
||||||
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground && nuxi prepare docs && vite build playground-vue",
|
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground && nuxi prepare docs && vite build playground-vue",
|
||||||
"docs": "DEV=true nuxi dev docs",
|
"docs": "DEV=true nuxi dev docs",
|
||||||
"docs:build": "NODE_OPTIONS='--max-old-space-size=8192' nuxi build docs",
|
"docs:build": "NODE_OPTIONS='--max-old-space-size=8192' nuxi build docs",
|
||||||
@@ -74,7 +75,6 @@
|
|||||||
"typecheck": "vue-tsc --noEmit && nuxi typecheck playground && nuxi typecheck docs && cd playground-vue && vue-tsc --noEmit",
|
"typecheck": "vue-tsc --noEmit && nuxi typecheck playground && nuxi typecheck docs && cd playground-vue && vue-tsc --noEmit",
|
||||||
"test": "vitest",
|
"test": "vitest",
|
||||||
"test:vue": "vitest -c vitest.vue.config.ts",
|
"test:vue": "vitest -c vitest.vue.config.ts",
|
||||||
"test:vue:build": "vite build playground-vue",
|
|
||||||
"release": "release-it"
|
"release": "release-it"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
Reference in New Issue
Block a user