From 5a90b321b0598a955abecece8408b63dec1c917d Mon Sep 17 00:00:00 2001 From: Shailesh Kumar Date: Thu, 2 Sep 2021 15:25:31 +0530 Subject: [PATCH 1/4] feat: tests to run on GitHub Actions (#2576) --- .github/workflows/tests.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..a49918f --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,15 @@ +name: Tests +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + steps: + -uses: actions/checkout@v2 + -uses: action/setup-node@v2 + with: + nod-version: 14 + -name: install deps + run: npm ci + -name: run tests + run: npm test From ebba65005003faf0884a7ae0c8ef0f040dd75512 Mon Sep 17 00:00:00 2001 From: Shailesh Kumar Date: Thu, 2 Sep 2021 16:04:24 +0530 Subject: [PATCH 2/4] Update tests.yml --- .github/workflows/tests.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a49918f..51e990b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,11 +5,11 @@ jobs: test: runs-on: ubuntu-latest steps: - -uses: actions/checkout@v2 - -uses: action/setup-node@v2 - with: - nod-version: 14 - -name: install deps - run: npm ci - -name: run tests - run: npm test + - uses: actions/checkout@v2 + - uses: action/setup-node@v2 + with: + nod-version: 14 + - name: install deps + run: npm ci + - name: run tests + run: npm test From 7361ad0fab1f8e08a718a362e8d5935ea361640f Mon Sep 17 00:00:00 2001 From: Shailesh Kumar Date: Thu, 2 Sep 2021 16:21:14 +0530 Subject: [PATCH 3/4] Update tests.yml --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 51e990b..aeaad30 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: action/setup-node@v2 + - uses: actions/setup-node@v2 with: nod-version: 14 - name: install deps From 2a5c37393aa42b5f859323d9411e3e7ebe1babf2 Mon Sep 17 00:00:00 2001 From: Shailesh Kumar Date: Thu, 2 Sep 2021 16:29:15 +0530 Subject: [PATCH 4/4] Update tests.yml --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index aeaad30..063e5bf 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - nod-version: 14 + node-version: 14 - name: install deps run: npm ci - name: run tests