chore(deps-dev): bump @types/jasmine from 5.1.4 to 5.1.5 in the testing group #3126
Workflow file for this run
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
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@3e891b0cb619bf60e2c25674b222b8940e2c1c25 # v4.1.0 | |
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@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Pack .NET | |
run: | | |
powershell ./build/dotnet-pack.ps1 | |
- name: Upload Nuget Packages | |
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
with: | |
name: packages | |
path: ${{ github.workspace }}/packages | |
- name: Upload Shell Binaries | |
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
with: | |
name: shell-binaries | |
path: ${{ github.workspace }}/src/shell/dotnet/Shell/bin/Release/net6.0-windows/ |