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

Commit

Permalink
fix: add leveldown back to bundle for Windows installation (#4046)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmurdoch authored Dec 16, 2022
1 parent 5d4deb3 commit a299df0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
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
# 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",
"secp256k1"
]
}

0 comments on commit a299df0

Please sign in to comment.