Skip to content

Commit 4134507

Browse files
Add vue app in the github pipeline
1 parent 8883a20 commit 4134507

File tree

2 files changed

+32
-5
lines changed

2 files changed

+32
-5
lines changed

.github/workflows/build.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,14 @@ jobs:
4646
steps:
4747
- uses: actions/checkout@v3
4848
- uses: ./.github/workflows/actions/install
49-
- name: Install Playwright Browsers
49+
- name: Install Playwright Browsers (React)
5050
run: |
5151
cd ./apps/react-starter
5252
pnpm exec playwright install chromium --with-deps
53+
- name: Install Playwright Browsers (Vue)
54+
run: |
55+
cd ./apps/vue-starter
56+
pnpm exec playwright install chromium --with-deps
5357
- name: Test
5458
run: pnpm test
5559

@@ -64,18 +68,30 @@ jobs:
6468
- uses: actions/checkout@v3
6569
- uses: ./.github/workflows/actions/install
6670

67-
- name: Install Playwright Browsers
71+
- name: Install Playwright Browsers (React)
6872
run: |
6973
cd ./apps/react-starter
70-
pnpm playwright install chromium --with-deps
74+
pnpm exec playwright install chromium --with-deps
75+
- name: Install Playwright Browsers (Vue)
76+
run: |
77+
cd ./apps/vue-starter
78+
pnpm exec playwright install chromium --with-deps
7179
7280
- name: E2E
7381
run: pnpm e2e
7482

75-
- name: E2E Report
83+
- name: E2E Report React
7684
if: ${{ !cancelled() }}
7785
uses: actions/upload-artifact@v4
7886
with:
7987
name: react-playwright-report
8088
path: apps/react-starter/playwright-report/
8189
retention-days: 1
90+
91+
- name: E2E Report Vue
92+
if: ${{ !cancelled() }}
93+
uses: actions/upload-artifact@v4
94+
with:
95+
name: vue-playwright-report
96+
path: apps/vue-starter/playwright-report/
97+
retention-days: 1

.github/workflows/deploy-pages.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,19 @@ jobs:
3232
REACT_BASE: /ix-starter/react-starter/
3333
VITE_THEME: 1
3434

35-
- name: Deploy GitHub Pages 🚀
35+
- name: Build Vue Starter
36+
run: |
37+
cd apps/vue-starter
38+
pnpm build
39+
40+
- name: Deploy GitHub Pages 🚀 (React)
3641
uses: JamesIves/github-pages-deploy-action@v4
3742
with:
3843
folder: ./apps/react-starter/dist
3944
target-folder: react-starter
45+
46+
- name: Deploy GitHub Pages 🚀 (Vue)
47+
uses: JamesIves/github-pages-deploy-action@v4
48+
with:
49+
folder: ./apps/vue-starter/dist
50+
target-folder: vue-starter

0 commit comments

Comments
 (0)