Skip to content

Commit

Permalink
Fix sdk-release
Browse files Browse the repository at this point in the history
  • Loading branch information
banool committed Nov 4, 2022
1 parent e21f854 commit b66e2eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/check-sdk-examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,22 @@ jobs:
node-version-file: .node-version
registry-url: 'https://registry.npmjs.org'

- run: npm install -g [email protected]
- uses: pnpm/action-setup@v2
with:
version: 7.14.2

# Run example code in typescript.
- uses: nick-fields/retry@7f8f3d9f0f62fe5925341be21c2e8314fd4f7c7c # pin@v2
name: ts-example-test
with:
max_attempts: 5
timeout_minutes: 20
command: cd ./ecosystem/typescript/sdk/examples/typescript && yarn install && yarn test
command: cd ./ecosystem/typescript/sdk/examples/typescript && pnpm install && pnpm test

# Run example code in javascript.
- uses: nick-fields/retry@7f8f3d9f0f62fe5925341be21c2e8314fd4f7c7c # pin@v2
name: js-example-test
with:
max_attempts: 5
timeout_minutes: 20
command: cd ./ecosystem/typescript/sdk/examples/javascript && yarn install && yarn test
command: cd ./ecosystem/typescript/sdk/examples/javascript && pnpm install && pnpm test
2 changes: 1 addition & 1 deletion ecosystem/typescript/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"fmt": "pnpm _fmt --write",
"fmt:check": "pnpm _fmt --check",
"cov:clean": "rm -rf coverage",
"generate-client": "pnpm && openapi -i ../../../api/doc/spec.yaml -o ./src/generated -c axios --name AptosGeneratedClient --exportSchemas true",
"generate-client": "openapi -i ../../../api/doc/spec.yaml -o ./src/generated -c axios --name AptosGeneratedClient --exportSchemas true",
"checked-publish": "./checked_publish.sh"
},
"repository": {
Expand Down

0 comments on commit b66e2eb

Please sign in to comment.