Skip to content

Commit 44514f0

Browse files
authored
Update all dependencies (#24)
- Server .NET 8 and latest nugets - Extension is still on react 16 because of a limitation of Azure DevOps - Worker updated to latest - Fixed testing in the pipeline
1 parent 6399c38 commit 44514f0

25 files changed

Lines changed: 3599 additions & 7208 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup .NET
2222
uses: actions/setup-dotnet@v3
2323
with:
24-
dotnet-version: 7.0.x
24+
dotnet-version: 8.x
2525
- name: Restore dependencies
2626
run: dotnet restore
2727
- name: Build

.pipelines/azure-pipeline-rate-limiting-worker.yaml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,25 @@ stages:
3737
displayName: 'npm install'
3838
workingDirectory: $(WorkingDirectory)
3939

40-
- script: npm run test
40+
- script: npm run test:ci
4141
displayName: 'npm run test:ci'
4242
workingDirectory: $(WorkingDirectory)
4343

4444
- task: PublishTestResults@2
4545
inputs:
4646
testResultsFormat: 'JUnit'
47-
testResultsFiles: '$(WorkingDirectory)/**/test-results.xml'
47+
testResultsFiles: '$(WorkingDirectory)/**/TEST-results.xml'
4848
condition: succeededOrFailed()
4949

50-
- task: Npm@1
51-
displayName: 'npm prune --omit=dev --json'
50+
- task: PublishCodeCoverageResults@1
5251
inputs:
53-
command: custom
54-
verbose: false
55-
customCommand: 'prune --omit=dev'
52+
codeCoverageTool: cobertura
53+
summaryFileLocation: '$(WorkingDirectory)/**/cobertura-coverage.xml'
54+
condition: succeededOrFailed()
55+
56+
- script: npm prune --omit=dev --json
57+
displayName: 'npm prune --omit=dev --json'
58+
workingDirectory: $(WorkingDirectory)
5659

5760
- task: PublishBuildArtifacts@1
5861
inputs:

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
For any major change, please open an issue before submitting a PR. For smaller issues, you are very welcome to open a PR directly.
44

5-
The project combines an Azure DevOps extension built in ReactJS with a [.NET 7](https://dotnet.microsoft.com/en-us/download/dotnet/7.0) server.
5+
The project combines an Azure DevOps extension built in ReactJS with a [.NET 8](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) server.
66

77
## Install
88
Follow the instructions in the README.

0 commit comments

Comments
 (0)