mirror of
https://github.com/unraid/api.git
synced 2026-01-04 15:39:52 -06:00
25 lines
554 B
YAML
25 lines
554 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
|
|
|
|
- name: Lint, Test, and Build Web Components
|
|
uses: "unraid/lint-test-build-web@${{ steps.branch-name.outputs.current_branch }}"
|