Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

fix: add leveldown back to bundle for Windows installation #4046

Merged
merged 7 commits into from
Dec 16, 2022
Merged
Show file tree
Hide file tree
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
8 changes: 8 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
# 5. exit with non-zero exit code if the test fails.
run: |
npm run build &&
npm run prepublishOnly &&
cd ./src/packages/ganache &&
npm pack &&
size="$(zcat ganache-*.tgz | wc -c)" &&
Expand All @@ -66,3 +67,10 @@ jobs:
# use a fake infura key for the bundle size check so this test will
# run successfully on external contributor Pull Requests
INFURA_KEY: "badc0de0deadc0debadc0de0deadc0de"
- name: Upload artifact
davidmurdoch marked this conversation as resolved.
Show resolved Hide resolved
# this should match the os and version used in the release.yml
if: startsWith(matrix.os, 'ubuntu-20.04') && startsWith(matrix.node, '14.')
uses: actions/upload-artifact@v3
with:
name: Candidate
path: ./src/packages/ganache/ganache-*.tgz
Binary file added src/packages/ganache/ganache-7.7.0.tgz
Binary file not shown.
9 changes: 2 additions & 7 deletions src/packages/ganache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,8 @@
},
"bundledDependencies": [
"@trufflesuite/bigint-buffer",
"abstract-leveldown",
"async-eventemitter",
"emittery",
"keccak",
"secp256k1",
"@types/bn.js",
"@types/lru-cache",
"@types/seedrandom"
"leveldown",
davidmurdoch marked this conversation as resolved.
Show resolved Hide resolved
"secp256k1"
]
}