From 0b4730a83894fb5ab39aa40960369815b94b3c9a Mon Sep 17 00:00:00 2001 From: Anton Tranelis Date: Tue, 18 Feb 2025 16:18:40 +0000 Subject: [PATCH] updated github workflows to test new example --- .github/workflows/test.build.yml | 2 +- .github/workflows/test.lint.examples.yml | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.build.yml b/.github/workflows/test.build.yml index 90622d6a..b033f54f 100644 --- a/.github/workflows/test.build.yml +++ b/.github/workflows/test.build.yml @@ -42,7 +42,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - app: [examples/1-basic-map, examples/2-static-layers] # Aktualisierte Pfade der Beispiel-Apps + app: [examples/1-basic-map, examples/2-static-layers, examples/3-tags ] steps: - name: Checkout Repository diff --git a/.github/workflows/test.lint.examples.yml b/.github/workflows/test.lint.examples.yml index 7b8b1a07..7db5a315 100644 --- a/.github/workflows/test.lint.examples.yml +++ b/.github/workflows/test.lint.examples.yml @@ -60,6 +60,20 @@ jobs: run: npm install && npm run lint working-directory: ./examples/2-static-layers + lint-example-3-tags: + if: needs.files-changed.outputs.lint == 'true' + name: Lint Example 3 - Tags + 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: Lint + run: npm install && npm run lint + working-directory: ./examples/3-tags + # unit: # if: needs.files-changed.outputs.frontend == 'true' # name: Unit - Frontend