Skip to content

Commit

Permalink
feat: Check for outdated openapi.json (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
Norbiros committed Oct 11, 2024
1 parent eed30f2 commit 789e6d2
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@ jobs:
- run: pnpm install

- name: outdated openapi.json
run: |
pnpm openapi
if [[ -n $(git status --porcelain) ]]; then
echo "OpenAPI is not updated"
exit 1
else
echo "No changes"
fi
- run: pnpm test

- run: pnpm lint
- run: pnpm lint

0 comments on commit 789e6d2

Please sign in to comment.