Free previously allocated JSON array only if element exists in TOML file #2130
Workflow file for this run
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 |