ch-admin-api-client-typescript 4.7.3 → 4.7.8

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,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
- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
22
- - uses: actions/checkout@v2
23
- - uses: actions/setup-node@v1
13
+ - uses: actions/checkout@v3
14
+ - uses: actions/setup-node@v3
24
15
  with:
25
- node-version: 12
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
- # You may pin to the exact commit or the version.
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
- # You may pin to the exact commit or the version.
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.npm_token}}
31
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}