Skip to content

Commit 64dc115

Browse files
committed
ci: add ci tests for web app builds
1 parent 154075e commit 64dc115

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,33 @@ jobs:
3131
3232
- name: Run ${{ matrix.command }}
3333
run: yarn ${{ matrix.command }}
34+
35+
test-builds:
36+
name: Test Builds
37+
runs-on: ubuntu-latest
38+
39+
strategy:
40+
fail-fast: false
41+
matrix:
42+
app:
43+
- docs:
44+
command: "yarn run docs:generate"
45+
path: "./apps/docs"
46+
47+
steps:
48+
- name: Checkout code
49+
uses: actions/checkout@v4
50+
51+
- name: Setup Node.js
52+
uses: actions/setup-node@v4
53+
with:
54+
node-version: 22
55+
cache: "yarn"
56+
57+
- name: Initialize Repository
58+
run: |
59+
yarn run init
60+
61+
- name: Build ${{ matrix.app }}
62+
working-directory: ${{ matrix.app.path }}
63+
run: ${{ matrix.app.command }}

0 commit comments

Comments
 (0)