Skip to content

Commit d20e091

Browse files
committed
Updated Workflow
1 parent 34a631a commit d20e091

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.github/workflows/RegressionTesting.yaml

+22
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,28 @@ jobs:
4646
run: |
4747
cd UserAccMgmtServ
4848
npm run testCI
49+
50+
test-ViewGeneratorServ:
51+
runs-on: ubuntu-latest
52+
53+
steps:
54+
- name: Checkout code
55+
uses: actions/checkout@v2
56+
57+
- name: Use Node.js
58+
uses: actions/setup-node@v2
59+
with:
60+
node-version: '20'
61+
62+
- name: Install dependencies
63+
run: |
64+
cd view_generator_serv
65+
npm install
66+
67+
- name: Run tests
68+
run: |
69+
cd view_generator_serv
70+
npm run testCI
4971
5072

5173

view_generator_serv/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"start": "react-scripts start",
3030
"build": "react-scripts build",
3131
"test": "react-scripts test --transformIgnorePatterns \"node_modules/(?!axios)/\"",
32+
"testCI": "CI=true react-scripts test --transformIgnorePatterns \"node_modules/(?!axios)/\"",
3233
"eject": "react-scripts eject"
3334
},
3435
"eslintConfig": {

0 commit comments

Comments
 (0)