Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
cctdaniel committed Jun 6, 2024
1 parent ee9c052 commit 93e83c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-hermes-client-api-types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
- name: Install deps
run: npm ci
- name: Generate API Types
run: npx lerna run generate-api-types
run: npx lerna run generate-hermes-api-types
- name: Check API Types
run: npx lerna run check-api-types
run: npx lerna run check-hermes-api-types
3 changes: 2 additions & 1 deletion apps/hermes/client/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"test": "jest --testPathIgnorePatterns=.*.e2e.test.ts --passWithNoTests",
"test:e2e": "jest --testPathPattern=.*.e2e.test.ts",
"build": "tsc",
"generate-api-types": "openapi-typescript https://hermes.pyth.network/docs/openapi.json --output src/serverTypes.d.ts",
"generate-hermes-api-types": "openapi-typescript https://hermes.pyth.network/docs/openapi.json --output src/serverTypes.d.ts",
"check-hermes-api-types": "git diff --exit-code src/serverTypes.d.ts",
"example": "npm run build && node lib/examples/HermesClient.js",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "eslint src/",
Expand Down

0 comments on commit 93e83c3

Please sign in to comment.