Merge pull request #2754 from Erasure5959/development #3058
This file contains hidden or 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: | |
| FORCE_COLOR: 2 | |
| jobs: | |
| openapi-validator: | |
| name: Node | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Clone repository | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 #v6.0.1 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f #v6.1.0 | |
| with: | |
| node-version: "20" | |
| cache: npm | |
| - name: Install npm dependencies | |
| run: npm ci | |
| - name: Run tests | |
| run: npm test |