@platzio/sdk 0.5.3-beta.3 → 0.6.0-beta.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.
@@ -14,9 +14,9 @@ jobs:
14
14
  uses: actions/checkout@v3
15
15
 
16
16
  - name: 🛠️ Setup node
17
- uses: actions/setup-node@v3
17
+ uses: actions/setup-node@v4
18
18
  with:
19
- node-version: 18
19
+ node-version: latest
20
20
 
21
21
  - name: 🎲 Choose backend version
22
22
  id: backend_tag
@@ -36,12 +36,23 @@ jobs:
36
36
  fileName: "openapi.yaml"
37
37
 
38
38
  - name: 🏗️ Generate SDK
39
- uses: craicoverflow/openapi-generator-action@v1
40
- with:
41
- generator: "typescript-axios"
42
- input: "openapi.yaml"
43
- output: "."
44
- additional-properties: useSingleRequestParameter=true
39
+ run: |
40
+ docker run --rm \
41
+ -v "$(pwd):/local" \
42
+ openapitools/openapi-generator-cli \
43
+ generate \
44
+ -i /local/openapi.yaml \
45
+ -g typescript-axios \
46
+ -o /local/src \
47
+ --additional-properties=useSingleRequestParameter=true
48
+
49
+ - name: 👷 npm install
50
+ run: |
51
+ npm install
52
+
53
+ - name: 👷 npm build
54
+ run: |
55
+ npm run build
45
56
 
46
57
  - name: 🚀 Publish to NPM
47
58
  uses: JS-DevTools/npm-publish@v2