Skip to content

Commit

Permalink
Update build-devmode.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
javisperez committed Nov 29, 2024
1 parent f447a0e commit 69fb3e0
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build-devmode.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build the dev mode UI

on:
# Runs on pushes targeting the `main` branch, and only for the `docs/**` path.
# Runs on pushes targeting the `main` branch, and only for the `frontend/dev-mode/**` path.
pull_request:
paths:
- 'frontend/dev-mode/**'
Expand All @@ -28,6 +28,7 @@ jobs:
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
package_json_file: frontend/dev-mode/package.json
version: 8
run_install: false

Expand All @@ -45,10 +46,11 @@ jobs:
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
run: |
cd ./frontend/dev-mode
pnpm install
- name: Run the build
run: pnpm build

- name: Build the docs
run: pnpm build
run: |
cd ./frontend/dev-mode
pnpm install

0 comments on commit 69fb3e0

Please sign in to comment.