Skip to content

Commit 1be6ebe

Browse files
committed
feat: webapp CI
1 parent ea999ae commit 1be6ebe

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ name: Build
33
on:
44
push:
55
branches: [ master ]
6+
paths-exclude: [ 'webapp/**' ]
67
pull_request:
7-
branches: [ master ]
8+
branches: [ 'renovate/**' ]
9+
paths-exclude: [ 'webapp/**' ]
810

911
jobs:
1012
build:

.github/workflows/build_web.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build webapp
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
paths: [ 'webapp/**' ]
7+
pull_request:
8+
branches: [ '"renovate/**' ]
9+
paths: [ 'webapp/**' ]
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Setup pnpm
18+
uses: pnpm/action-setup@v4
19+
with:
20+
version: 9
21+
22+
- name: Setup node
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: 20
26+
cache: pnpm
27+
28+
- name: Install dependencies
29+
run: pnpm install --frozen-lockfile
30+
31+
- name: Run build
32+
run: pnpm run build

0 commit comments

Comments
 (0)