Skip to content

Commit 0421c44

Browse files
author
Denis Hilt
committed
Demo app fix: actions (2)
1 parent 6e1a052 commit 0421c44

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,7 @@ jobs:
3737
- run: npm run ci:tests
3838
- run: npm test
3939

40-
- uses: actions/upload-artifact@v4
41-
with:
42-
name: demo-dist
43-
path: dist/demo
44-
45-
deploy:
46-
needs: build
40+
deploy:
4741
runs-on: ubuntu-22.04
4842
steps:
4943
- name: Set env BRANCH
@@ -65,16 +59,16 @@ jobs:
6559
if: env.NEED == 'true'
6660
uses: actions/checkout@v4
6761

68-
- name: Download dist
62+
- name: Install and Build
6963
if: env.NEED == 'true'
70-
uses: actions/download-artifact@v4
71-
with:
72-
name: demo-dist
73-
path: dist-demo-app
64+
run: |
65+
npm run ci:lib
66+
npm run ci:demo
67+
npm run build:demo
7468
7569
- name: Deploy
7670
if: env.NEED == 'true'
7771
uses: JamesIves/github-pages-deploy-action@v4
7872
with:
7973
branch: gh-pages
80-
folder: dist-demo-app
74+
folder: dist/demo

0 commit comments

Comments
 (0)