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 3af52f4
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: check for outdated openapi.json
run: |
pnpm backend: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 3af52f4

Please sign in to comment.