@hautechai/sdk 0.1.4 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,40 +1,40 @@
1
1
  name: Publish Package to npmjs
2
2
  on:
3
- release:
4
- types: [published]
3
+ release:
4
+ types: [published]
5
5
  jobs:
6
- build-and-publish:
7
- runs-on: ubuntu-latest
8
- permissions:
9
- contents: read
10
- id-token: write
11
- environment: main
12
- steps:
13
- - name: Checkout
14
- uses: actions/checkout@v4
6
+ build-and-publish:
7
+ runs-on: ubuntu-latest
8
+ permissions:
9
+ contents: read
10
+ id-token: write
11
+ environment: main
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v4
15
15
 
16
- - name: Install pnpm
17
- uses: pnpm/action-setup@v4
18
- with:
19
- version: 9
16
+ - name: Install pnpm
17
+ uses: pnpm/action-setup@v4
18
+ with:
19
+ version: 9
20
20
 
21
- - name: Use Node LTS
22
- uses: actions/setup-node@v4
23
- with:
24
- node-version: '20.x'
25
- registry-url: 'https://registry.npmjs.org'
26
- cache: pnpm
21
+ - name: Use Node LTS
22
+ uses: actions/setup-node@v4
23
+ with:
24
+ node-version: '20.x'
25
+ registry-url: 'https://registry.npmjs.org'
26
+ cache: pnpm
27
27
 
28
- - name: Install dependencies
29
- run: pnpm install --frozen-lockfile
28
+ - name: Install dependencies
29
+ run: pnpm install --frozen-lockfile
30
30
 
31
- - name: Bump version
32
- run: pnpm version from-git --no-commit-hooks --no-git-tag-version --allow-same-version
31
+ - name: Bump version
32
+ run: pnpm version from-git --no-commit-hooks --no-git-tag-version --allow-same-version
33
33
 
34
- - name: Build the package
35
- run: pnpm build
34
+ - name: Build the package
35
+ run: pnpm build
36
36
 
37
- - name: Publish the package
38
- run: pnpm publish --no-git-checks --access public
39
- env:
40
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
37
+ - name: Publish the package
38
+ run: pnpm publish --no-git-checks --access public
39
+ env:
40
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -2,38 +2,38 @@ name: Test
2
2
  on:
3
3
  push:
4
4
  branches:
5
- - 'main'
5
+ - 'main'
6
6
  jobs:
7
- test:
8
- runs-on: ubuntu-latest
9
- permissions:
10
- contents: read
11
- id-token: write
12
- environment: main
13
- steps:
14
- - name: Checkout
15
- uses: actions/checkout@v4
7
+ test:
8
+ runs-on: ubuntu-latest
9
+ permissions:
10
+ contents: read
11
+ id-token: write
12
+ environment: main
13
+ steps:
14
+ - name: Checkout
15
+ uses: actions/checkout@v4
16
16
 
17
- - name: Install pnpm
18
- uses: pnpm/action-setup@v4
19
- with:
20
- version: 9
17
+ - name: Install pnpm
18
+ uses: pnpm/action-setup@v4
19
+ with:
20
+ version: 9
21
21
 
22
- - name: Use Node LTS
23
- uses: actions/setup-node@v4
24
- with:
25
- node-version: '20.x'
26
- registry-url: 'https://registry.npmjs.org'
27
- cache: pnpm
22
+ - name: Use Node LTS
23
+ uses: actions/setup-node@v4
24
+ with:
25
+ node-version: '20.x'
26
+ registry-url: 'https://registry.npmjs.org'
27
+ cache: pnpm
28
28
 
29
- - name: Install dependencies
30
- run: pnpm install --frozen-lockfile
29
+ - name: Install dependencies
30
+ run: pnpm install --frozen-lockfile
31
31
 
32
- - name: Test
33
- run: pnpm test
34
- env:
35
- API_CORE_URL: https://api.dev.hautech.ai
36
- APP_ID: ${{ secrets.APP_ID }}
37
- APP_KEY_ID: ${{ secrets.APP_KEY_ID }}
38
- APP_KEY_SECRET: ${{ secrets.APP_KEY_SECRET }}
39
- SDK_TOKEN: ${{ secrets.SDK_TOKEN }}
32
+ - name: Test
33
+ run: pnpm test
34
+ env:
35
+ API_CORE_URL: https://api.dev.hautech.ai
36
+ APP_ID: ${{ secrets.APP_ID }}
37
+ APP_KEY_ID: ${{ secrets.APP_KEY_ID }}
38
+ APP_KEY_SECRET: ${{ secrets.APP_KEY_SECRET }}
39
+ SDK_TOKEN: ${{ secrets.SDK_TOKEN }}
@@ -0,0 +1 @@
1
+ src/autogenerated/**