Skip to content

Commit

Permalink
👷 Update pnpm/action-setup to Version v4
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <[email protected]>
  • Loading branch information
pcaversaccio committed Feb 7, 2025
1 parent 0038667 commit 4e98df8
Show file tree
Hide file tree
Showing 11 changed files with 301 additions and 299 deletions.
288 changes: 144 additions & 144 deletions .gas-snapshot

Large diffs are not rendered by default.

286 changes: 143 additions & 143 deletions .gas-snapshot-venom

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ jobs:
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@v4
with:
version: latest
run_install: false

- name: Get pnpm cache directory path
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ jobs:
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@v4
with:
version: latest
run_install: false

- name: Get pnpm cache directory path
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test-contracts-venom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@ jobs:
run: pip install git+https://github.com/vyperlang/vyper@master

- name: Install pnpm
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@v4
with:
version: latest
run_install: false

- name: Get pnpm cache directory path
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@ jobs:
run: ape compile

- name: Install pnpm
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@v4
with:
version: latest
run_install: false

- name: Get pnpm cache directory path
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ You will need the following dependencies:
> [!IMPORTANT]
> All 🐍 snekmate contracts in the `main` branch are designed to work with the latest `master` branch commit of 🐍Vyper, which can be installed via `pip install git+https://github.com/vyperlang/vyper.git@master` (note that Python version `3.10` or higher is required).
It is recommended to install [`pnpm`](https://pnpm.io) through the `npm` package manager, which comes bundled with [Node.js](https://nodejs.org/en) when you install it on your system. It is recommended to use a Node.js version `>= 22.0.0`.
It is recommended to install [`pnpm`](https://pnpm.io) through the `npm` package manager, which comes bundled with [Node.js](https://nodejs.org/en) when you install it on your system. It is recommended to use a Node.js version `>=22.11.0`.

Once you have `npm` installed, you can run the following both to install and upgrade `pnpm`:

Expand Down
2 changes: 1 addition & 1 deletion lib/create-util
2 changes: 1 addition & 1 deletion lib/solady
2 changes: 1 addition & 1 deletion lib/solidity-bytes-utils
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"bugs": {
"url": "https://github.com/pcaversaccio/snekmate/issues"
},
"packageManager": "[email protected]",
"scripts": {
"prettier:check": "npx prettier -c \"**/*.{md,sol,js,json,yml,yaml,sh}\"",
"prettier:fix": "npx prettier -w \"**/*.{md,sol,js,json,yml,yaml,sh}\"",
Expand Down Expand Up @@ -48,5 +49,10 @@
"prettier-plugin-sh": "^0.14.0",
"prettier-plugin-solidity": "^1.4.2",
"solhint": "^5.0.5"
},
"pnpm": {
"onlyBuiltDependencies": [
"keccak"
]
}
}

0 comments on commit 4e98df8

Please sign in to comment.