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
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
fail-fast: false
matrix:
node-version: [20, 22, 24]
test: ["unit", "integration:v5", "integration:v4"]
test: ["unit", "integration:orkes-v5", "integration:orkes-v4"]
name: Node.js v${{ matrix.node-version }} - ${{ matrix.test }} tests
steps:
- name: Checkout
Expand Down
6 changes: 3 additions & 3 deletions src/common/OPEN-API-README.md → OPEN-API-README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
The client is generated using [this library](https://github.com/hey-api/openapi-ts). Generated code must not be modified directly.
The open-api layer code is generated using [this library](https://github.com/hey-api/openapi-ts). Generated code (src/open-api/generated) must not be modified directly.

## Updating generated code

1. Copy OpenApi spec data from up to date cluster `({cluster_url}/api-docs)`
2. Paste to `open-api-spec/spec.json`
2. Paste to `src/open-api/spec/spec.json`
3. Prettify `spec.json`, run command: (todo: should be removed after OpenApi spec fix)

```text
node open-api-spec/fix-additional-properties.ts
node src/open-api/spec/fix-additional-properties.ts
```

4. run command:
Expand Down
3 changes: 2 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ export default defineConfig(
{
ignores: [
"dist/**",
"src/common/open-api/**", // OpenAPI auto-generated code
"src/open-api/generated/**", // OpenAPI auto-generated code
"src/open-api/spec/**", // OpenAPI spec and fix script
"docs/**",
"node_modules/**",
],
Expand Down
7 changes: 2 additions & 5 deletions index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
export * from "./src/task/index";
export * from "./src/common";
export * from "./src/core";
export * from "./src/orkes";

export * from "./src/sdk";
export * from "./src/open-api";
129 changes: 0 additions & 129 deletions integration-tests/common/MetadataClient.test.ts

This file was deleted.

Loading
Loading