utopia-ui/.github/workflows/test.unit.lib.yml
Ulf Gebhardt da634ba8c9
fixed related to mono-repo
issue templates

workflow: lint frontend

workflow: test lib

workflow - unit tests frontend

lib instead of frontend

missing name

workflow: lint examples

workflow: build lib

LICENSE

rename workflow build lib

docs lib

deploy docs

fix build example flow
2025-06-12 11:29:22 +02:00

34 lines
962 B
YAML

name: test:unit:lib
on: push
jobs:
files-changed:
name: Detect File Changes - unit - lib
runs-on: ubuntu-latest
outputs:
unit: ${{ steps.filter.outputs.unit }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.1.7
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: filter
with:
filters: |
unit:
- '.github/workflows/**/*'
- 'lib/**/*'
unit:
if: needs.files-changed.outputs.unit == 'true'
name: Unit - lib
needs: files-changed
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.1.7
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.0.3
with:
node-version-file: '.tool-versions'
- name: Unit
run: npm install && npm run test:unit
working-directory: lib/