mirror of
https://github.com/sudosylabs/vnidrop.git
synced 2026-08-05 02:29:55 +02:00
45 lines
955 B
YAML
45 lines
955 B
YAML
name: Diagnostics API
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- "services/diagnostics-api/**"
|
|
- "Makefile"
|
|
- "config.mk"
|
|
- "make/**"
|
|
- ".github/workflows/diagnostics-api.yml"
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- "services/diagnostics-api/**"
|
|
- "Makefile"
|
|
- "config.mk"
|
|
- "make/**"
|
|
- ".github/workflows/diagnostics-api.yml"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: diagnostics-api-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
quality:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "22"
|
|
cache: npm
|
|
cache-dependency-path: services/diagnostics-api/package-lock.json
|
|
|
|
- name: Check diagnostics API
|
|
run: make check-diagnostics
|