Skip to content

Add .github/workflows test ensuring correct function #11

Open
@chadoh

Description

@chadoh

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions