From 9544833ad6a3092daf7726141e48f11c6c92b49f Mon Sep 17 00:00:00 2001 From: gnibeda Date: Mon, 5 Aug 2024 17:42:05 +0300 Subject: [PATCH] * changed ubuntu version for test action --- .github/workflows/test-ui.yml | 58 +++++++++++++++++------------------ proxy.conf.js | 6 ++-- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/.github/workflows/test-ui.yml b/.github/workflows/test-ui.yml index 81b0c86e..2e7f662a 100644 --- a/.github/workflows/test-ui.yml +++ b/.github/workflows/test-ui.yml @@ -1,38 +1,38 @@ # on: push on: - workflow_run: - workflows: ["Build Angular"] - types: - - completed + workflow_run: + workflows: ["Build Angular"] + types: + - completed name: Test UI jobs: - build: - runs-on: ubuntu-latest - strategy: - matrix: - node-version: [20.14.0] - steps: - - uses: actions/checkout@v1 - - name: Build the docker - run: | - docker-compose build - docker-compose up -d + build: + runs-on: ubuntu-22.04 + strategy: + matrix: + node-version: [20.14.0] + steps: + - uses: actions/checkout@v4 + - name: Build the docker + run: | + docker-compose build + docker-compose up -d - - name: Check running containers - run: docker ps -a + - name: Check running containers + run: docker ps -a - - name: Create directory for artifacts - run: mkdir -p ./e2e/screenshots + - name: Create directory for artifacts + run: mkdir -p ./e2e/screenshots - - name: Install node modules - run: npm i + - name: Install node modules + run: npm i - - name: Running test - run: npm test + - name: Running test + run: npm test - - name: Archive artifacts - if: always() - uses: actions/upload-artifact@v2 - with: - name: screenshots - path: ./e2e/screenshots + - name: Archive artifacts + if: always() + uses: actions/upload-artifact@v4 + with: + name: screenshots + path: ./e2e/screenshots diff --git a/proxy.conf.js b/proxy.conf.js index ed2b4bd8..efe54e93 100644 --- a/proxy.conf.js +++ b/proxy.conf.js @@ -1,18 +1,18 @@ module.exports = { "/config.json": { - "target": "https://pie-chart-bug.demo.community.intersystems.com/dsw/", + "target": "https://startup-dev.community.intersystems.com/dsw/", "secure": false, "logLevel": "debug", "changeOrigin": true }, "/configs": { - "target": "https://pie-chart-bug.demo.community.intersystems.com/dsw/", + "target": "https://startup-dev.community.intersystems.com/dsw/", "secure": false, "logLevel": "debug", "changeOrigin": true }, "/MDX2JSON": { - "target": "https://pie-chart-bug.demo.community.intersystems.com/", + "target": "https://startup-dev.community.intersystems.com/", "secure": false, "logLevel": "debug", "changeOrigin": true