From 45d0c3af80e0f34f5bf536d8a79d365be1f1e525 Mon Sep 17 00:00:00 2001 From: Anix Date: Thu, 9 Jan 2020 00:54:39 +0530 Subject: [PATCH 1/2] chore: added github Actions for CI --- .github/workflows/CI.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/CI.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 000000000..3341329c0 --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,33 @@ +name: Testing the e2e jest suites + +on: + push: + branches: + - master + - develop + pull_request: + branches: + - master + - develop + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [8.x, 10.x, 12.x] + + steps: + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: bootstrap + run: npm run bootstrap + - name: Build + run: npm run build + - name: linting + run: npm run lint + - name: Jest + puppeteer end to end + run: npm run jest:e2e From 336908f721631eecb2e65f1e0fb7cf7415d6c059 Mon Sep 17 00:00:00 2001 From: Anix Date: Thu, 9 Jan 2020 00:58:27 +0530 Subject: [PATCH 2/2] chore: CI workflow fixes --- .github/workflows/CI.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3341329c0..b2a85b09e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,4 +1,4 @@ -name: Testing the e2e jest suites +name: Testing the e2e test suites on: push: @@ -29,5 +29,5 @@ jobs: run: npm run build - name: linting run: npm run lint - - name: Jest + puppeteer end to end - run: npm run jest:e2e + - name: end to end + run: npm run test:e2e