From 4b4b6eba4ec023510e6ebdb74728b638f1836697 Mon Sep 17 00:00:00 2001 From: rgossiaux Date: Sat, 25 Dec 2021 01:27:54 -0800 Subject: [PATCH] Github action for Jest (#26) --- .github/workflows/main.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..2200e9f --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,18 @@ +name: Jest + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install dependencies + run: npm install + - name: Run tests + run: npm test