npm ci --prod
cp .env.example .env ## and set up your env. vars
cp storage.json.example storage.json
node . storage
npm i
npm t ## all tests must be passing
# npm dev:tests ## when writing tests files
cp .env.example .env ## and set up your env. vars
cp storage.json.example storage.json
npm run dev
Put the values of your .env
file as secrets in Settings > Secrets
and enable GitHub Actions feature under Settings > Actions
## generate this value here: https://github.com/settings/tokens/new?scopes=repo,admin:public_key&description=ttv-channel-notifier
GH_PERSONAL_ACCESS_TOKEN=
## your repo name
REPO=micalevisk/twitchtv-channel-notifier
npm run update-repo-secrets --repo="$REPO" --PAT="$GH_PERSONAL_ACCESS_TOKEN"