Skip to content

Commit

Permalink
v0.6.0-beta.0
Browse files Browse the repository at this point in the history
  • Loading branch information
popen2 committed Aug 25, 2024
1 parent 000b77d commit 9a8cff6
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 24 deletions.
27 changes: 19 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
uses: actions/checkout@v3

- name: 🛠️ Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: latest

- name: 🎲 Choose backend version
id: backend_tag
Expand All @@ -36,12 +36,23 @@ jobs:
fileName: "openapi.yaml"

- name: 🏗️ Generate SDK
uses: craicoverflow/openapi-generator-action@v1
with:
generator: "typescript-axios"
input: "openapi.yaml"
output: "."
additional-properties: useSingleRequestParameter=true
run: |
docker run --rm \
-v "$(pwd):/local" \
openapitools/openapi-generator-cli \
generate \
-i /local/openapi.yaml \
-g typescript-axios \
-o /local/src \
--additional-properties=useSingleRequestParameter=true
- name: 👷 npm install
run: |
npm install
- name: 👷 npm build
run: |
npm run build
- name: 🚀 Publish to NPM
uses: JS-DevTools/npm-publish@v2
Expand Down
29 changes: 16 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@platzio/sdk",
"version": "0.5.3-beta.4",
"version": "0.6.0-beta.0",
"description": "Platz.io SDK",
"homepage": "https://platz.io",
"repository": {
Expand All @@ -21,9 +21,9 @@
"access": "public"
},
"peerDependencies": {
"axios": "^1.4.0"
"axios": "^1.7.5"
},
"devDependencies": {
"typescript": "^5.0.4"
"typescript": "^5.5.4"
}
}

0 comments on commit 9a8cff6

Please sign in to comment.