mirror of
https://github.com/pi-hole/FTL.git
synced 2026-07-02 17:55:38 +01:00
5442e00a8f
Signed-off-by: yubiuser <github@yubiuser.dev>
28 lines
532 B
YAML
28 lines
532 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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 #v4.4.0
|
|
with:
|
|
node-version: "20"
|
|
cache: npm
|
|
|
|
- name: Install npm dependencies
|
|
run: npm ci
|
|
|
|
- name: Run tests
|
|
run: npm test
|