Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(feat) closes #51 - write instructions for pnpm #52

Merged
merged 1 commit into from
Oct 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,19 +298,19 @@ Set `ZILLIQA_API_URL` to the URL of a network to test - or to eg. `http://localh
Set `ZILLIQA_NETWORK` to the name of the network to test against - see `test/fixture-projects/hardhat-proxy/hardhat.config.ts` for details.

```sh
yarn test
pnpm test
```

Will run all tests that don't require an external network (so that test passes will be deterministic).

```sh
yarn test-live
pnpm test-live
```

Will run just the tests that do require an external network.

```sh
yarn test-all
pnpm test-all
```

Will run both sets of tests.
Expand All @@ -319,5 +319,6 @@ Will run both sets of tests.

In order to publish the plugin to [npmjs.com](https://www.npmjs.com/package/hardhat-scilla-plugin), follow these steps:
1. Increase the plugin version in [package.json](./package.json)
2. Run `yarn login` and enter your credentials.
3. Run `yarn publish`. This command will run `yarn build` && `yarn test` beforehand.
2. Run `npm login` and enter your credentials.
3. Run `pnpm install`
3. Run `pnpm publish`. This command will run `pnpm build` && `pnpm test` beforehand.