From cade2d6389bb88485db0de7609deae495d5f6cc6 Mon Sep 17 00:00:00 2001 From: Loris Leiva Date: Mon, 3 Mar 2025 18:52:52 +0000 Subject: [PATCH] Fix script names for JS client (#59) --- .github/workflows/publish-js-client.yml | 8 ++++---- clients/js/README.md | 2 +- clients/rust/README.md | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish-js-client.yml b/.github/workflows/publish-js-client.yml index d6ba832..0504828 100644 --- a/.github/workflows/publish-js-client.yml +++ b/.github/workflows/publish-js-client.yml @@ -42,16 +42,16 @@ jobs: solana: true - name: Format JS Client - run: pnpm clients:js:format + run: pnpm js:format - name: Lint JS Client - run: pnpm clients:js:lint + run: pnpm js:lint - name: Build Programs run: pnpm programs:build - name: Test JS Client - run: pnpm clients:js:test + run: pnpm js:test publish_js: name: Publish JS client @@ -89,7 +89,7 @@ jobs: - name: Publish JS Client id: publish - run: pnpm clients:js:publish ${{ inputs.level }} ${{ inputs.tag }} + run: pnpm js:publish ${{ inputs.level }} ${{ inputs.tag }} - name: Push Commit and Tag run: git push origin --follow-tags diff --git a/clients/js/README.md b/clients/js/README.md index c9f5cc1..685a9f8 100644 --- a/clients/js/README.md +++ b/clients/js/README.md @@ -7,7 +7,7 @@ A generated JavaScript library for the Stake program. To build and test your JavaScript client from the root of the repository, you may use the following command. ```sh -pnpm clients:js:test +pnpm js:test ``` This will start a new local validator, if one is not already running, and run the tests for your JavaScript client. diff --git a/clients/rust/README.md b/clients/rust/README.md index 8629294..257a158 100644 --- a/clients/rust/README.md +++ b/clients/rust/README.md @@ -7,7 +7,7 @@ A generated Rust library for the Stake program. To build and test your Rust client from the root of the repository, you may use the following command. ```sh -pnpm clients:js:test +pnpm js:test ``` This will start a new local validator, if one is not already running, and run the tests for your Rust client.