mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-03-29 13:45:22 +00:00
Bumps [dorny/paths-filter](https://github.com/dorny/paths-filter) from 3.0.2 to 4.0.1.
- [Release notes](https://github.com/dorny/paths-filter/releases)
- [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md)
- [Commits](de90cc6fb3...fbd0ab8f3e)
---
updated-dependencies:
- dependency-name: dorny/paths-filter
dependency-version: 4.0.1
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
90 lines
3.0 KiB
YAML
90 lines
3.0 KiB
YAML
name: test::examples:lib
|
|
|
|
on: push
|
|
|
|
jobs:
|
|
files-changed:
|
|
name: Detect File Changes - lint
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
lint: ${{ steps.filter.outputs.lint }}
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4.1.7
|
|
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
|
|
id: filter
|
|
with:
|
|
filters: |
|
|
lint:
|
|
- '.github/workflows/**/*'
|
|
- 'lib/**/*'
|
|
|
|
# build:
|
|
# if: needs.files-changed.outputs.frontend == 'true'
|
|
# name: Build - Frontend
|
|
# needs: files-changed
|
|
# runs-on: ubuntu-latest
|
|
# steps:
|
|
# - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4.1.7
|
|
# - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v4.0.3
|
|
# with:
|
|
# node-version-file: './.tool-versions'
|
|
# - name: Frontend | Build
|
|
# run: npm install && npm run build
|
|
# working-directory: ./frontend
|
|
|
|
lint-example-1-basic-map:
|
|
if: needs.files-changed.outputs.lint == 'true'
|
|
name: Lint Example 1 - Basic Map
|
|
needs: files-changed
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4.1.7
|
|
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v4.0.3
|
|
with:
|
|
node-version-file: '.tool-versions'
|
|
- name: Lint
|
|
run: npm install && npm run lint
|
|
working-directory: lib/examples/1-basic-map
|
|
|
|
lint-example-2-static-layers:
|
|
if: needs.files-changed.outputs.lint == 'true'
|
|
name: Lint Example 2 - Static Layers
|
|
needs: files-changed
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4.1.7
|
|
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v4.0.3
|
|
with:
|
|
node-version-file: '.tool-versions'
|
|
- name: Lint
|
|
run: npm install && npm run lint
|
|
working-directory: lib/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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4.1.7
|
|
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v4.0.3
|
|
with:
|
|
node-version-file: '.tool-versions'
|
|
- name: Lint
|
|
run: npm install && npm run lint
|
|
working-directory: lib/examples/3-tags
|
|
|
|
# unit:
|
|
# if: needs.files-changed.outputs.frontend == 'true'
|
|
# name: Unit - Frontend
|
|
# needs: files-changed
|
|
# runs-on: ubuntu-latest
|
|
# steps:
|
|
# - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4.1.7
|
|
# - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v4.0.3
|
|
# with:
|
|
# node-version-file: './.tool-versions'
|
|
# - name: Frontend | Unit
|
|
# run: npm install && npm run test:unit
|
|
# working-directory: ./frontend
|