Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ jobs:
- run: npm install
- run: npm test

openapi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm install
- run: npm run openapi:check

build:
runs-on: ubuntu-latest
needs: [lint, test]
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
"sync:pricing-nodes": "tsx scripts/sync-pricing-nodes.ts",
"sync:substations": "tsx scripts/sync-substations.ts",
"generate:changelog": "npx tsx scripts/generate-changelog.ts",
"openapi": "tsx scripts/generate-openapi.ts",
"openapi:check": "tsx scripts/generate-openapi.ts --check",
"sync:all": "npx tsx scripts/sync-all.ts",
"seed": "tsx scripts/seed-database.ts",
"test:api": "tsx scripts/test-api-endpoints.ts"
Expand Down
Loading
Loading