Skip to content

Commit 0126ce8

Browse files
Merge pull request #662 from microsoft/hb-psl-fix-testissue
fix: updates CI workflows and frontend dependencies
2 parents 0d94aaa + 660d626 commit 0126ce8

5 files changed

Lines changed: 2811 additions & 2140 deletions

File tree

.github/workflows/job-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ on:
8787
value: ${{ jobs.azure-setup.outputs.IMAGE_TAG }}
8888
QUOTA_FAILED:
8989
description: "Quota Check Failed Flag"
90-
value: ${{ jobs.azure-setup.outputs.QUOTA_FAILED }}
90+
value: ${{ jobs.azure-setup.outputs.QUOTA_FAILED || 'false' }}
9191

9292
env:
9393
GPT_MIN_CAPACITY: 150

.github/workflows/node.js.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Build Frontend
55

66
on:
77
push:
8-
branches: [ "main" ]
8+
branches: [ "main", "dev" ]
99
paths:
1010
- 'src/frontend/**/*.ts'
1111
- 'src/frontend/**/*.tsx'
@@ -17,7 +17,7 @@ on:
1717
- 'src/frontend/**/*.html'
1818
- '.github/workflows/node.js.yml'
1919
pull_request:
20-
branches: [ "main" ]
20+
branches: [ "main", "dev" ]
2121
paths:
2222
- 'src/frontend/**/*.ts'
2323
- 'src/frontend/**/*.tsx'
@@ -37,7 +37,7 @@ jobs:
3737
working-directory: src/frontend
3838
strategy:
3939
matrix:
40-
node-version: [18.x, 21.x]
40+
node-version: [20.x, 22.x]
4141
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
4242

4343
steps:
@@ -49,6 +49,5 @@ jobs:
4949
cache: 'npm'
5050
cache-dependency-path: 'src/frontend/package-lock.json'
5151
- run: npm ci
52-
- run: npm install --save-dev jest-environment-jsdom # Install missing package
5352
- run: NODE_OPTIONS=--max_old_space_size=8192 npm run build --if-present
5453
- run: npm run test --if-present

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main # Trigger on push to the main branch
7+
- dev
78
paths:
89
- 'src/**/*.py'
910
- 'src/requirements*.txt'
@@ -16,6 +17,7 @@ on:
1617
pull_request:
1718
branches:
1819
- main # Trigger on pull requests to the main branch
20+
- dev
1921
types:
2022
- opened
2123
- ready_for_review

0 commit comments

Comments
 (0)