Skip to content

Commit

Permalink
feat: webapp CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MrExplode committed Nov 18, 2024
1 parent ea999ae commit 1be6ebe
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ name: Build
on:
push:
branches: [ master ]
paths-exclude: [ 'webapp/**' ]
pull_request:
branches: [ master ]
branches: [ 'renovate/**' ]
paths-exclude: [ 'webapp/**' ]

jobs:
build:
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/build_web.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build webapp

on:
push:
branches: [ master ]
paths: [ 'webapp/**' ]
pull_request:
branches: [ '"renovate/**' ]
paths: [ 'webapp/**' ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run build
run: pnpm run build

0 comments on commit 1be6ebe

Please sign in to comment.