diff --git a/.github/workflows/contract-tests.yml b/.github/workflows/contract-tests.yml index 998f7bb..195d400 100644 --- a/.github/workflows/contract-tests.yml +++ b/.github/workflows/contract-tests.yml @@ -24,18 +24,13 @@ jobs: - name: Install dependencies run: npm ci - # Builds the project, extracts every exported type/interface/class/method - # signature from the compiled .d.ts files, and compares against the - # committed snapshot in temp/skyflow-node.api.md. - # Fails if anything in the public API surface has changed — renamed class, - # renamed method, changed parameter type, removed export, etc. - name: Verify API surface snapshot run: npm run contract-snapshot-verify - - name: Upload API surface report on failure + - name: Upload API surface diff on failure if: failure() uses: actions/upload-artifact@v4 with: - name: api-surface-report - path: api-report/skyflow-node.api.md + name: api-surface-diff + path: temp/skyflow-node.api.md retention-days: 7 diff --git a/api-extractor.json b/api-extractor.json index 3e39ffd..19ca410 100644 --- a/api-extractor.json +++ b/api-extractor.json @@ -9,7 +9,7 @@ "apiReport": { "enabled": true, "reportFolder": "/api-report/", - "reportTempFolder": "/api-report/", + "reportTempFolder": "/temp/", "reportFileName": ".api.md" }, "docModel": { diff --git a/api-report/skyflow-node.api.md b/api-report/skyflow-node.api.md index af4a81a..3291a0e 100644 --- a/api-report/skyflow-node.api.md +++ b/api-report/skyflow-node.api.md @@ -18,7 +18,6 @@ export type BearerTokenOptions = { ctx?: string | Record; roleIDs?: string[]; logLevel?: LogLevel; - tokenUri?: string; }; // @public (undocumented) @@ -708,7 +707,7 @@ export interface InsertResponseType { // (undocumented) [key: string]: unknown; // (undocumented) - skyflow_id: string; + skyflowId: string; } // @public (undocumented) @@ -784,8 +783,6 @@ export interface PathCredentials { path: string; // (undocumented) roles?: Array; - // (undocumented) - tokenUri?: string; } // @public (undocumented) @@ -877,7 +874,6 @@ export type SignedDataTokensOptions = { timeToLive?: number; ctx?: string | Record; logLevel?: LogLevel; - tokenUri?: string; }; // @public (undocumented) @@ -964,8 +960,6 @@ export interface StringCredentials { credentialsString: string; // (undocumented) roles?: Array; - // (undocumented) - tokenUri?: string; } // @public (undocumented)