From 75051244d38af34b1438db14c4e437f1ac570e8b Mon Sep 17 00:00:00 2001 From: Melvin Zottola Date: Thu, 5 Oct 2023 16:34:52 +0200 Subject: [PATCH] chore: Add npm test step CI --- .github/workflows/openapi-test.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/openapi-test.yaml diff --git a/.github/workflows/openapi-test.yaml b/.github/workflows/openapi-test.yaml new file mode 100644 index 00000000..1e545ebd --- /dev/null +++ b/.github/workflows/openapi-test.yaml @@ -0,0 +1,17 @@ +name: Test openapi standard + +on: + pull_request: + +jobs: + gh-release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: '16.x' + - name: Test + run: | + npm install -g @apidevtools/swagger-cli + npm run test