Skip to content

Commit

Permalink
* changed ubuntu version for test action
Browse files Browse the repository at this point in the history
  • Loading branch information
agnybida committed Aug 5, 2024
1 parent 43065b1 commit 9544833
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 32 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/test-ui.yml
Original file line number Diff line number Diff line change
@@ -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
6 changes: 3 additions & 3 deletions proxy.conf.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 9544833

Please sign in to comment.