Skip to content

Commit df5846a

Browse files
add demo app to CI builds
1 parent 92b0f57 commit df5846a

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/ci.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Prettier
2525
run: |
2626
npm run prettier
27-
docs:
27+
website:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- uses: actions/checkout@v4
@@ -33,9 +33,20 @@ jobs:
3333
- name: Install
3434
run: |
3535
npm install
36+
- name: Build package
37+
run: |
38+
npm run build
3639
- name: Build documentation
3740
run: |
3841
npm run docs
42+
- name: Build demo application
43+
run: |
44+
cd demo
45+
npm install
46+
npm install .. --install-links
47+
npm run build
48+
cd ..
49+
cp -R docs demo/dist
3950
unit-tests:
4051
runs-on: ${{ matrix.os }}
4152
strategy:

.github/workflows/website.yml

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ jobs:
1515
- name: Install library
1616
run: |
1717
npm install
18+
- name: Build package
19+
run: |
20+
npm run build
1821
- name: Build documentation
1922
run: |
2023
npm run docs

0 commit comments

Comments
 (0)