Skip to content

Commit

Permalink
chore: Add npm test step CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mzottola committed Oct 5, 2023
1 parent 09260ec commit 27e00c2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/openapi-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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 install -g @stoplight/spectral
npm run test

0 comments on commit 27e00c2

Please sign in to comment.