Skip to content
This repository was archived by the owner on Aug 20, 2026. It is now read-only.

Commit 22e4fb1

Browse files
committed
Merge branch 'main' into functional-improvements
2 parents 3687a7e + 2913d1d commit 22e4fb1

42 files changed

Lines changed: 308 additions & 343 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/copilot-build.yml renamed to .github/workflows/copilot-build-backend.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
1-
name: copilot-build
1+
name: copilot-build-backend
22

33
on:
4+
pull_request:
5+
branches: ["main"]
6+
merge_group:
7+
branches: ["main"]
48
workflow_call:
59
outputs:
610
artifact:
711
description: "The name of the uploaded artifact."
8-
value: ${{jobs.web-api.outputs.artifact}}
12+
value: ${{jobs.webapi.outputs.artifact}}
913

1014
permissions:
1115
contents: read
1216

1317
jobs:
14-
web-api:
18+
webapi:
1519
strategy:
1620
fail-fast: false
1721
matrix:
@@ -33,7 +37,12 @@ jobs:
3337

3438
- name: Package Copilot Chat WebAPI
3539
run: |
36-
deploy\package-webapi.ps1 -Configuration Release -DotnetFramework net6.0 -TargetRuntime win-x64 -OutputDirectory ${{ github.workspace }}\deploy
40+
scripts\deploy\package-webapi.ps1 -Configuration Release -DotnetFramework net6.0 -TargetRuntime win-x64 -OutputDirectory ${{ github.workspace }}\scripts\deploy
41+
42+
- name: Check formatting of Copilot Chat WebAPI
43+
run: |
44+
cd webapi/
45+
dotnet format --verify-no-changes --verbosity diagnostic
3746
3847
- name: Set version tag
3948
id: versiontag
@@ -46,7 +55,7 @@ jobs:
4655
uses: actions/upload-artifact@v3
4756
with:
4857
name: copilotchat-webapi-${{ steps.versiontag.outputs.versiontag }}
49-
path: ${{ github.workspace }}\deploy\out\webapi.zip
58+
path: ${{ github.workspace }}\scripts\deploy\out\webapi.zip
5059

5160
- name: "Set outputs"
5261
id: artifactoutput
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: copilot-build-frontend
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
branches: ["main"]
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
webapp:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v3
18+
- name: Use Node.js 18
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version: 18
22+
cache: "yarn"
23+
cache-dependency-path: "webapp/yarn.lock"
24+
25+
- name: Run yarn install, yarn build, & yarn format
26+
run: |
27+
#!/bin/bash
28+
set -e # exit with nonzero exit code if anything fails
29+
echo "Running yarn install, yarn build, & yarn format"
30+
yarn install --frozen-lockfile # install dependencies and ensure lockfile is unchanged.
31+
yarn build # run build script
32+
yarn format # run format script
33+
working-directory: webapp

‎.github/workflows/copilot-chat-package.yml‎

Lines changed: 0 additions & 55 deletions
This file was deleted.

‎.github/workflows/copilot-deploy-backend.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ permissions:
2424
contents: read
2525

2626
jobs:
27-
web-api:
27+
webapi:
2828
environment: ${{inputs.ENVIRONMENT}}
2929
permissions:
3030
id-token: write

‎.github/workflows/copilot-deploy-frontend.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: copilot-deploy-backend
1+
name: copilot-deploy-frontend
22

33
on:
44
workflow_call:
@@ -23,7 +23,7 @@ permissions:
2323
contents: read
2424

2525
jobs:
26-
web-app:
26+
webapp:
2727
environment: ${{inputs.ENVIRONMENT}}
2828
permissions:
2929
id-token: write

‎.github/workflows/copilot-deploy-pipeline.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ permissions:
1515

1616
jobs:
1717
build:
18-
uses: ./.github/workflows/copilot-build.yml
18+
uses: ./.github/workflows/copilot-build-backend.yml
1919

2020
int:
2121
needs: build
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ permissions:
88
contents: read
99

1010
jobs:
11-
test:
11+
e2e:
1212
defaults:
1313
run:
1414
working-directory: webapp

‎.github/workflows/node-pr.yml‎

Lines changed: 0 additions & 70 deletions
This file was deleted.

0 commit comments

Comments
 (0)