diff options
author | Joas Schilling <coding@schilljs.com> | 2020-03-24 09:52:18 +0300 |
---|---|---|
committer | Marco Ambrosini <marcoambrosini@pm.me> | 2020-03-24 13:33:34 +0300 |
commit | 1fcfd99dc99b50c1f4a715ed78db9cab2952675a (patch) | |
tree | de82d86a3a3375e0568534b678d6d6a13e90d068 /.github | |
parent | e1ca03508640cfa733a68553a051b0931b9ba4bb (diff) |
Execute unit tests on github
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/test.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 000000000..ce2c52b8d --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,19 @@ +name: Test + +on: [push] + +jobs: + jest: + runs-on: ubuntu-latest + name: ESLint + steps: + - name: Checkout + uses: actions/checkout@master + - name: Set up Node + uses: actions/setup-node@v1 + with: + node-version: 12.x + - name: NPM install + run: npm i + - name: jest + run: npm run test:unit |