Skip to content

Commit 922ab76

Browse files
committed
ci: fix demo build command
1 parent b6453eb commit 922ab76

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.github/workflows/node.js.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ jobs:
3838
run: pnpm install
3939

4040
- name: Build
41-
run: pnpm run build
41+
run: pnpm run demo-build

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ packages/demo/.vitepress/cache
99
packages/demo/.vitepress/dist/
1010
package-lock.json
1111
!pnpm-lock.yaml
12+
/packages/**/node_modules

packages/demo/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"scripts": {
66
"preinstall": "npx only-allow pnpm",
77
"dev": "vitepress dev",
8+
"build": "pnpm run demo-build",
89
"demo-build": "vitepress build",
910
"demo-preview": "vitepress preview",
1011
"serve": "pnpm run demo-build && vitepress serve"

0 commit comments

Comments
 (0)