Skip to content

Commit

Permalink
Fix js build task by having turbo run build (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
oveddan authored Nov 1, 2023
1 parent 71a2d92 commit d789935
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/foundry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ jobs:
run: npx turbo run storage-inspect:check

build_js:
needs: build
strategy:
fail-fast: true

Expand All @@ -133,14 +132,9 @@ jobs:
- name: Install node deps and founry
uses: ./.github/actions/setup_deps

- name: Download foundry artifacts
uses: actions/download-artifact@v3
with:
name: $build_artifact

- name: Build js package
run: |
npx turbo run prepack
npx turbo run build
coverage-1155:
uses: ./.github/workflows/coverage.yml
Expand All @@ -155,4 +149,3 @@ jobs:
with:
package: "protocol-rewards"
files_to_ignore: '"*lib*"'

Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ contract ZoraCreator1155FactoryForkTest is ForkDeploymentConfig, Test {

// make sure that the address from the factory matches the stored fixed price address
// sanity check - check minters match config
assertEq(address(factory.merkleMinter()), deployment.merkleMintSaleStrategy);
assertEq(address(factory.fixedPriceMinter()), deployment.fixedPriceSaleStrategy);
assertEq(address(factory.redeemMinterFactory()), deployment.redeemMinterFactory);
assertEq(address(factory.merkleMinter()), deployment.merkleMintSaleStrategy, "merkle minter incorrect");
assertEq(address(factory.fixedPriceMinter()), deployment.fixedPriceSaleStrategy, "fixed priced minter incorrect");
assertEq(address(factory.redeemMinterFactory()), deployment.redeemMinterFactory, "redeem minter not correct");
}

function test_fork_canCreateContractAndMint() external {
Expand Down

0 comments on commit d789935

Please sign in to comment.