Check hashes and store for Something about Something.
Runs on daily at 3:00 UTC. (12:00 in GMT+9, JST)
Running on AWS NorthEast-1 CodeBuild nodes with yarn test:check
If you want to check logs, Please run this script on your local machine since AWS CodeBuild doesn't support share logs on public.
passing: No changes detected.
failing: Changes detected, or Something is blocking this script.
in_progress: Please wait.
unknown: Please wait. if it keeps 'unknown' tomorrow, please submit issue.
# Install dependencies.
$ npm i # or `yarn install`
# Run, `-w` to write to `hashes.json` too
$ npm run start # or `yarn start`
# Test.
# It will be panic when found changes.
$ npm run test:check
# Lint
$ npm run lint
# `hashes.json` assets downloader, `-c` to only download recent change.
$ npm run downloadThere's three option.
Example config is on config/proxy.example.json.
Change name to config/proxy.json and change settings to your proxy.
Set ENABLE_PROXY=1 to enable proxy.
-p or --proxy can work with start and download. Note that test:check is ignore arguments.