chore(deps): bump System.Drawing.Common in /src/shell/dotnet/Shell (#… #3041
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Morgan Stanley makes this available to you under the Apache License, Version 2.0 (the "License"). You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. See the NOTICE file distributed with this work for additional information regarding copyright ownership. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. | |
# This workflow will do a clean install of node dependencies, build the source code and run tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_call: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
name: CI | |
jobs: | |
build: | |
env: | |
COMPOSEUI_SKIP_DOWNLOAD: 'true' | |
DOTNET_CONSOLE_ANSI_COLOR: 'true' | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
dotnet-version: [ '6.0.x' ] | |
node-version: [ '20.x' ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
COMPOSEUI_SKIP_DOWNLOAD: ${{env.COMPOSEUI_SKIP_DOWNLOAD}} | |
- name: Install NPM dependencies | |
run: npm ci | |
- name: Build JavaScript | |
run: npx lerna run build | |
- name: Test JavaScript | |
run: npx lerna run test | |
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }} | |
uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # v4.0.1 | |
with: | |
dotnet-version: ${{ matrix.dotnet-version }} | |
- name: Install NuGet dependencies | |
run: | | |
powershell ./build/dotnet-restore.ps1 | |
- name: Build .NET | |
run: | | |
powershell ./build/dotnet-build.ps1 | |
- name: Test .NET | |
run: | | |
powershell ./build/dotnet-test.ps1 | |
- name: Codecov | |
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Pack .NET | |
run: | | |
powershell ./build/dotnet-pack.ps1 | |
- name: Upload Nuget Packages | |
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 | |
with: | |
name: packages | |
path: ${{ github.workspace }}/packages | |
- name: Upload Shell Binaries | |
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 | |
with: | |
name: shell-binaries | |
path: ${{ github.workspace }}/src/shell/dotnet/Shell/bin/Release/net6.0-windows/ |