Skip to content

chore(deps): bump the npm_and_yarn group across 1 directory with 2 up… #2968

chore(deps): bump the npm_and_yarn group across 1 directory with 2 up…

chore(deps): bump the npm_and_yarn group across 1 directory with 2 up… #2968

# 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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
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/