LIT-Protocol / js-sdk

The Lit Protocol SDK provides developers with a framework for implementing Lit functionality into their own applications.
https://developer.litprotocol.com
MIT License
99 stars 59 forks source link

Ci/shiva for testing #572

Closed joshLong145 closed 1 month ago

joshLong145 commented 2 months ago

CI changes for running local-tests against Shiva within a docker container.

See action run linked here for new integration test steps.

We now pull release branches from a specified commit based for Datil based on the DATIL_COMMIT_HASH and DATIL_BRANCH_NAME which can be configured for pulling different branches for release testing.

In the current design of the container environment we are required to pull in lit-assets for contract deployment functionality. Due to this requirement the GH_PAT has been added as well as GH_USERNAME in order to authenticate with the Lit Protocol GitHub org.

IPFS_API_KEY is a required env var as it is needed for lit-node to function correctly.

Note: This PR will need follow up to change the branch / commit hash once datil-cherry-pick has been merged into datil which can be tracked here: