Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

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 2b4610c commit cc0e6fa
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 cc0e6fa

Please sign in to comment.