Merge pull request #2168 from pi-hole/tweak/nlinks #2007
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: API validation | |
on: [push] | |
env: | |
CI: true | |
jobs: | |
openapi-validator: | |
name: Node | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4.1.7 | |
- name: Set Node.js version | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
- name: Install npm dependencies | |
run: npm ci | |
- name: Run tests | |
run: npm test |