mirror of
https://github.com/pi-hole/FTL.git
synced 2026-07-09 11:43:51 +01:00
02c3ec3e1f
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
28 lines
448 B
YAML
28 lines
448 B
YAML
name: API validation
|
|
|
|
on: [push]
|
|
|
|
env:
|
|
FORCE_COLOR: 2
|
|
|
|
jobs:
|
|
openapi-validator:
|
|
name: Node
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Clone repository
|
|
uses: actions/checkout@v4.2.2
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v4.2.0
|
|
with:
|
|
node-version: "20"
|
|
cache: npm
|
|
|
|
- name: Install npm dependencies
|
|
run: npm ci
|
|
|
|
- name: Run tests
|
|
run: npm test
|