Skip to content

Commit

Permalink
UI building as a separate step.
Browse files Browse the repository at this point in the history
  • Loading branch information
dokterbob committed Sep 4, 2024
1 parent 2ef89ea commit c79c665
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/build-ui.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: buildUi

on:
workflow_call:
paths-ignore:
- 'backend/**'

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/pnpm-node-install
name: Install Node, pnpm and dependencies.
with:
node-version: 22.7.0
pnpm-version: 9.7.0
pnpm-install-args: --no-frozen-lockfile
- name: Build UI
run: pnpm run buildUi
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,13 @@ jobs:
lint-ui:
uses: ./.github/workflows/lint-ui.yaml
secrets: inherit
build-ui:
uses: ./.github/workflows/build-ui.yaml
secrets: inherit
ci:
runs-on: ubuntu-latest
name: Run CI
needs: [mypy, pytest, e2e-tests, lint-ui]
needs: [mypy, pytest, e2e-tests, lint-ui, build-ui]
steps:
- name: 'Done'
run: echo "Done"

0 comments on commit c79c665

Please sign in to comment.