Skip to content

Commit

Permalink
Debug npm publish (#2232)
Browse files Browse the repository at this point in the history
* switch to dysnix/ org (matter-labs/ include strangly fails)

Signed-off-by: Denis Baryshev <[email protected]>

* Fix lint

Signed-off-by: deniallugo <[email protected]>

* Fix Package

Signed-off-by: deniallugo <[email protected]>

* Fix js sdk build

* fix: js sdk build before contracts tests

* Build zksync sdk

Signed-off-by: deniallugo <[email protected]>

* Move build sdk

Signed-off-by: deniallugo <[email protected]>

* build

Signed-off-by: deniallugo <[email protected]>

* Fix

Signed-off-by: deniallugo <[email protected]>

* Update version

Signed-off-by: deniallugo <[email protected]>

Co-authored-by: Denis Baryshev <[email protected]>
Co-authored-by: Jack Hamer <[email protected]>
  • Loading branch information
3 people authored Apr 25, 2022
1 parent b336e94 commit 40ea1d4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,13 @@ jobs:
run: |
ci_run ln -s /usr/src/keys/setup keys/setup
ci_run zk
ci_run zk run yarn
ci_run zk run verify-keys unpack
ci_run yarn run build:zksync-sdk
ci_run zk contract build
ci_run zk run deploy-erc20 dev
ci_run zk run deploy-eip1271
ci_run zk db basic-setup
ci_run zk run yarn
- name: restart dev-liquidity-token-watcher and dev-ticker
run: docker-compose -f docker-compose-runner.yml restart dev-liquidity-token-watcher dev-ticker
Expand Down
6 changes: 3 additions & 3 deletions contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@
"ts-node": "^9.0.0",
"typechain": "^4.0.0",
"typescript": "^4.0.5",
"zksync": "link:../sdk/zksync.js"
"zksync": "file:../sdk/zksync.js"
},
"scripts": {
"build": "hardhat compile",
"test": "CONTRACT_TESTS=1 zk f yarn run hardhat test test/*.spec.ts",
"test:fork": "CONTRACT_TESTS=1 TEST_CONTRACTS_FORK=1 zk f yarn run hardhat test test/*.fork.ts",
"test": "cd ../sdk/zksync.js && yarn && yarn build && cd ../../contracts && rm -rf node_modules && yarn && CONTRACT_TESTS=1 zk f yarn run hardhat test test/*.spec.ts",
"test:fork": "cd ../sdk/zksync.js && yarn && yarn build && cd ../../contracts && rm -rf node_modules && yarn && CONTRACT_TESTS=1 TEST_CONTRACTS_FORK=1 zk f yarn run hardhat test test/*.fork.ts",
"deploy-no-build": "ts-node scripts/deploy.ts",
"upgrade-testnet-no-build": "ts-node scripts/upgrade-testnet.ts",
"deploy-eip1271": "ts-node scripts/deploy-eip1271.ts",
Expand Down
2 changes: 1 addition & 1 deletion sdk/zksync.js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zksync",
"version": "0.12.0",
"version": "0.12.1",
"license": "MIT",
"main": "build/index.js",
"types": "build/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10670,8 +10670,8 @@ yocto-queue@^0.1.0:
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==

"zksync@link:sdk/zksync.js":
version "0.12.0-alpha.6"
"zksync@file:sdk/zksync.js":
version "0.12.1"
dependencies:
axios "^0.21.2"
websocket "^1.0.30"
Expand Down

0 comments on commit 40ea1d4

Please sign in to comment.