Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .github/workflows test ensuring correct function #11

Open
chadoh opened this issue Aug 29, 2024 · 0 comments
Open

Add .github/workflows test ensuring correct function #11

chadoh opened this issue Aug 29, 2024 · 0 comments

Comments

@chadoh
Copy link
Contributor

chadoh commented Aug 29, 2024

Let's add a GitHub workflow to the .github/workflows folder that will:

  • start with this project
  • rm -rf contracts Cargo.toml Cargo.lock
  • stellar contract init . (maybe with a few examples?)

I believe this will simulate setting up a new project with stellar contract init some-new-project --frontend-template [this repo]. Please double-check me here!

Then the test can run npm install and npm run build, then use a frontend testing tool to load the index.html page and verify that it loads without any JS errors.

It will be important to have this in place before we get a lot of community-contributed frontend templates, to increase everyone's confidence that a given frontend template will at least load.

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

No branches or pull requests

1 participant