Skip to content

Commit 82e23b8

Browse files
move demo
1 parent d17d512 commit 82e23b8

8 files changed

Lines changed: 16 additions & 1033 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,19 @@ jobs:
2626
node-version: "20.x"
2727
cache: "npm"
2828

29-
- name: Install demo dependencies
30-
working-directory: demo
29+
- name: Install dependencies
3130
run: npm ci
3231

3332
- name: Build demo
34-
working-directory: demo
35-
run: npm run build
33+
run: npm run build:demo
3634

3735
- name: Setup Pages
3836
uses: actions/configure-pages@v4
3937

4038
- name: Upload artifact
4139
uses: actions/upload-pages-artifact@v3
4240
with:
43-
path: demo/dist
41+
path: demo-dist
4442

4543
deploy:
4644
environment:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ yarn-error.log*
66

77
# Build output
88
dist/
9+
demo-dist/
910
build/
1011

1112
# IDE and editor files

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,6 @@ To set up the development environment:
222222

223223
2. Start the development server:
224224
```bash
225-
cd demo
226225
npm install
227226
npm run dev
228227
```

0 commit comments

Comments
 (0)