ch-admin-api-client-typescript 4.7.2 → 4.7.7
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.
- package/.github/workflows/publish-npm.yml +9 -27
- package/lib/api.d.ts +2569 -1633
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +4026 -3294
- package/lib/base.js +3 -1
- package/lib/common.d.ts +6 -6
- package/lib/common.d.ts.map +1 -1
- package/lib/common.js +42 -26
- package/lib/index.js +6 -2
- package/openapitools.json +11 -1
- package/package.json +9 -7
- package/src/.openapi-generator/FILES +0 -9
- package/src/.openapi-generator/VERSION +0 -1
- package/src/.openapi-generator-ignore +0 -23
- package/src/api.ts +0 -51253
- package/src/base.ts +0 -71
- package/src/common.ts +0 -138
- package/src/configuration.ts +0 -101
- package/src/git_push.sh +0 -57
- package/src/index.ts +0 -18
|
@@ -1,49 +1,31 @@
|
|
|
1
|
-
# This is a basic workflow to help you get started with Actions
|
|
2
|
-
|
|
3
1
|
name: Version Update
|
|
4
2
|
|
|
5
|
-
# Controls when the action will run. Triggers the workflow on push or pull request
|
|
6
|
-
# events but only for the main branch
|
|
7
3
|
on:
|
|
8
4
|
repository_dispatch:
|
|
9
5
|
types:
|
|
10
6
|
- publish npm package
|
|
11
7
|
|
|
12
|
-
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
|
13
8
|
jobs:
|
|
14
|
-
# This workflow contains a single job called "build"
|
|
15
9
|
build:
|
|
16
|
-
# The type of runner that the job will run on
|
|
17
10
|
runs-on: ubuntu-latest
|
|
18
11
|
|
|
19
|
-
# Steps represent a sequence of tasks that will be executed as part of the job
|
|
20
12
|
steps:
|
|
21
|
-
|
|
22
|
-
- uses: actions/
|
|
23
|
-
- uses: actions/setup-node@v1
|
|
13
|
+
- uses: actions/checkout@v3
|
|
14
|
+
- uses: actions/setup-node@v3
|
|
24
15
|
with:
|
|
25
|
-
node-version:
|
|
26
|
-
registry-url: https://registry.npmjs.org
|
|
16
|
+
node-version: 16
|
|
17
|
+
registry-url: https://registry.npmjs.org
|
|
27
18
|
- run: npm ci
|
|
19
|
+
- name: Echo payload
|
|
20
|
+
run: echo ${{ github.event.client_payload.message.tag }}
|
|
28
21
|
- name: NPM-Version
|
|
29
|
-
|
|
30
|
-
# uses: Reedyuk/NPM-Version@9b08a57f534ead28c49f7b57665fe9f6d048ff74
|
|
31
|
-
uses: Reedyuk/NPM-Version@1.0.1
|
|
22
|
+
uses: Reedyuk/NPM-Version@1.1.1
|
|
32
23
|
with:
|
|
33
|
-
# This will be the version you want to set in the package.json file
|
|
34
24
|
version: ${{ github.event.client_payload.message.tag }}
|
|
35
|
-
# The location of the package.json file, defaults to current directory.
|
|
36
25
|
package: ./
|
|
37
|
-
- name: Echo payload
|
|
38
|
-
run: echo ${{ github.event.client_payload.message.tag }}
|
|
39
26
|
- name: Add & Commit
|
|
40
|
-
|
|
41
|
-
# uses: EndBug/add-and-commit@b5dec7ea7647ed6edf307ec828d3aeb6bca69f63
|
|
42
|
-
uses: EndBug/add-and-commit@v5.1.0
|
|
43
|
-
env:
|
|
44
|
-
# This is necessary in order to push a commit to the repo
|
|
45
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this line unchanged
|
|
27
|
+
uses: EndBug/add-and-commit@v9
|
|
46
28
|
- run: npm run-script build
|
|
47
29
|
- run: npm publish
|
|
48
30
|
env:
|
|
49
|
-
NODE_AUTH_TOKEN: ${{secrets.
|
|
31
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|