Skip to content

Commit 5ff921b

Browse files
committed
fix(ci): build library before demo to resolve missing isDesktopModeEnabled method
- Add npm run build:lib before npm run build:ci in both workflows - Ensures demo app can access latest library changes with new methods - Fixes TypeScript error in CI/CD pipeline
1 parent 86e6a98 commit 5ff921b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Lint and Test
1919
run: npm run test && npm run lint
2020
- name: Build
21-
run: npm run build:ci && cp -R dist/demo/browser ./docs/demo
21+
run: npm run build:lib && npm run build:ci && cp -R dist/demo/browser ./docs/demo
2222
- name: GitHub Pages action
2323
uses: peaceiris/actions-gh-pages@v3.9.3
2424
with:

.github/workflows/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ jobs:
1818
- name: Lint and Test
1919
run: npm run test && npm run lint
2020
- name: Build
21-
run: npm run build:ci
21+
run: npm run build:lib && npm run build:ci

0 commit comments

Comments
 (0)