diff --git a/.github/workflows/build-ui.yaml b/.github/workflows/build-ui.yaml new file mode 100644 index 0000000000..935e2ec559 --- /dev/null +++ b/.github/workflows/build-ui.yaml @@ -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 diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b4f31e15f0..8a537aecf4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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"