Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Latest commit

 

History

History

scripts

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Scripts

See https://github.com/github/scripts-to-rule-them-all for additional background on these scripts.

Below is a list of scripts available, along with a simple description of what each one does. The details of what they are doing is available within the script.

backstop Runs BackstopJS in the BackstopJS Docker container. If the script is called without passing any arguments the BackstopJS binary will be called with no arguments. This will result in the help text being returned where additional information about how to interact with the binary can be discovered. In order to run the tests, the backstop script must be run with the appropriate command e.g. running ./scripts/backstop test runs the tests as defined in the config file ./backstop-tests/backstop.js The most common commands to be run are test and approve.

bootstrap Installs project's direct dependencies e.g. npm packages.

deploy Clone ci-deployment repo and execute deploy script.

pre-bootstrap Directs towards base development machine setup.

start Starts the application a Docker container. Available at: http://localhost:3000

test Starts a Docker container specifically for continually running tests.

test-ci Runs the tests in a Docker container once so that an exit code is reported and can be used by the CI server.