From 8ddae7a4f2238ab7619d4aa63e9e590277d73082 Mon Sep 17 00:00:00 2001 From: Chris McKnight Date: Wed, 1 Nov 2023 02:25:40 -0500 Subject: [PATCH] ci(actions): Add cypress test github action --- .github/workflows/ci.yml | 3 --- .github/workflows/deploy-github-pages.yml | 3 --- .github/workflows/integration-tests.yml | 17 +++++++++++++++++ 3 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/integration-tests.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 76530a0d..b37a9257 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,3 @@ -# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions - name: Build on: [push] diff --git a/.github/workflows/deploy-github-pages.yml b/.github/workflows/deploy-github-pages.yml index 1d16ae51..d6cc57c1 100644 --- a/.github/workflows/deploy-github-pages.yml +++ b/.github/workflows/deploy-github-pages.yml @@ -1,6 +1,3 @@ -# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions - name: Deploy demo to GitHub pages on: diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml new file mode 100644 index 00000000..d6ac5b39 --- /dev/null +++ b/.github/workflows/integration-tests.yml @@ -0,0 +1,17 @@ +name: Integration Tests + +on: + push: + branches: [master] + +jobs: + build-and-lint: + runs-on: ubuntu-latest + steps: + - name: Checkout ๐Ÿ›Ž๏ธ + uses: actions/checkout@v2 + + - name: Install and Run Integration tests ๐Ÿงช + run: | + yarn install + yarn e2e:ci