Skip to content

Conversation

@jayantk
Copy link
Contributor

@jayantk jayantk commented Mar 8, 2023

I want to experiment with adding some functions to this, and it's hard to work on when it's in a separate place.

This is a pure copy pr except for the minor changes called out in comments to unify the CI workflows. I've moved all the CI workflows except the one that publishes the NPM package, which I will do separately, as I also need to set up the js sdk publish pipelines.

@vercel
Copy link

vercel bot commented Mar 8, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated
example-oracle-amm ⬜️ Ignored (Inspect) Visit Preview Mar 20, 2023 at 6:54PM (UTC)
xc-admin-frontend ⬜️ Ignored (Inspect) Visit Preview Mar 20, 2023 at 6:54PM (UTC)

run: npx lerna run test
- name: Lint
run: npx lerna run lint
- name: Generate ABIs
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added these steps to the existing lerna pipeline instead of making a separate workflow. i think it should be faster this way because it doesn't have to install all of the npm packages in a separate thing, but def open to doing it a different way.

"scripts": {
"format": "npx prettier --write .",
"generate-abi": "node scripts/generateAbi.js",
"build": "solcjs --bin MockPyth.sol -o build/"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this used to be named "build mock", and i changed it to build so it gets built with all the other packages above.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this work from here? can we add it to the top?

Comment on lines 84 to 88
### pre-commit hooks

pre-commit is a tool that checks and fixes simple issues (formatting, ...) before each commit. You can install it by following [their website](https://pre-commit.com/). In order to enable checks for this repo run `pre-commit install` from command-line in the root of this repo.

The checks are also performed in the CI to ensure the code follows consistent formatting.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not necessary anymore

Copy link
Collaborator

@ali-behjati ali-behjati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much.

@jayantk
Copy link
Contributor Author

jayantk commented Mar 20, 2023

the tilt CI is broken for a totally unrelated reason, so i'm going to merge this and then fix that.

@jayantk jayantk merged commit 9fef120 into main Mar 20, 2023
@jayantk jayantk deleted the solidity_sdk branch March 20, 2023 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants