From 3a203d249e4a6671d37a9eeaaba5d8439076188b Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Mon, 6 Apr 2020 16:46:19 -0400 Subject: [PATCH] Added Github actions --- .github/workflows/ci.yml | 18 ++++++++++++++++++ config.json.example | 2 -- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..f1cbd7d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +name: CI + +on: [push, pull_request] + +jobs: + + build: + name: Run Tests + runs-on: ubuntu-latest + + steps: + # Initialization + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + - run: npm install + + - name: Run Tests + run: npm test diff --git a/config.json.example b/config.json.example index b8a9d79..0d76f8b 100644 --- a/config.json.example +++ b/config.json.example @@ -1,6 +1,4 @@ { - // Remove all comments from the config when using it! - "port": 80, "globalSalt": "[global salt (pepper) that is added to every ip before hashing to make it even harder for someone to decode the ip]", "adminUserID": "[the hashed id of the user who can perform admin actions]",