mirror of
https://github.com/unraid/api.git
synced 2026-01-07 00:59:48 -06:00
27 lines
608 B
YAML
27 lines
608 B
YAML
name: Pull Request Web
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'web/**'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-web
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
lint-web:
|
|
defaults:
|
|
run:
|
|
working-directory: web
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Get branch name
|
|
id: branch-name
|
|
uses: tj-actions/branch-names@v6
|
|
|
|
- uses: jenseng/dynamic-uses@v1
|
|
name: Lint, Test, and Build Web Components
|
|
with:
|
|
uses: "unraid/lint-test-build-web@${{ steps.branch-name.outputs.current_branch }}"
|