You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2021/11/30 06:43:08 UTC
[incubator-streampipes] 09/18: [STREAMPIPES-478] Change Node version in build
This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git
commit 3628931fdbdb167b4a69b12cc12f2a09d80e4564
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Sun Nov 28 17:26:33 2021 +0100
[STREAMPIPES-478] Change Node version in build
---
.github/workflows/cypress-test.yml | 26 +++++++++++++++++---------
1 file changed, 17 insertions(+), 9 deletions(-)
diff --git a/.github/workflows/cypress-test.yml b/.github/workflows/cypress-test.yml
index e5fe773..963c55d 100644
--- a/.github/workflows/cypress-test.yml
+++ b/.github/workflows/cypress-test.yml
@@ -34,7 +34,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v1
with:
- node-version: '16.x'
+ node-version: '14'
- name: Build UI
working-directory: ./ui
run: |
@@ -56,16 +56,24 @@ jobs:
working-directory: ./installer/compose
run: docker-compose up -d
-# - name: 'UI Tests'
-# uses: cypress-io/github-action@v2
-# with:
-# install: false
-# wait-on: 'http://localhost/#/login'
-# wait-on-timeout: 120
-# spec: cypress/tests/**/*.smoke.ts
-# working-directory: ui
+ - name: Docker PS
+ working-directory: ./installer/compose
+ run: docker ps
+
+ - name: 'UI Tests'
+ uses: cypress-io/github-action@v2
+ with:
+ install: false
+ node-version: '14'
+ wait-on: 'http://localhost/#/login'
+ wait-on-timeout: 120
+ spec: cypress/tests/**/*.smoke.ts
+ working-directory: ui
- name: Run Cypress Tests
working-directory: ./ui
run: |
+ NODE_PATH=/cache/node_modules
+ NODE_OPTIONS=--max_old_space_size=6096
+ npm install --unsafe-perm --legacy-peer-deps
npm run test-cypress-github
\ No newline at end of file