tabvengers / spicy-sections

Creative Commons Zero v1.0 Universal
128 stars 10 forks source link

Update tests to run headless and in CI #43

Closed jonathantneal closed 2 years ago

jonathantneal commented 2 years ago

This PR updates the tests to run headless, and to run them from CI during pushes to the main branch.

Running the tests headless has allowed them to work on my own machine. Please checkout the branch to verify this works for you, as well.

Running the tests during CI allows the project to catch bugs on main. This is only a first step, and it can be improved later.

This PR needs to add the .gitignore file to prevent node_modules and package-lock.json from being automatically added to the project.

Resolves https://github.com/tabvengers/spicy-sections/issues/42

jonathantneal commented 2 years ago

Thanks, @bkardell!