Skip to content

ci(deploy): update deploy.yml #192

ci(deploy): update deploy.yml

ci(deploy): update deploy.yml #192

Workflow file for this run

name: Build & Test LumexUI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-test:
name: Build & Test LumexUI
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET Core environment
uses: actions/setup-dotnet@v4
- name: Restore .NET dependencies
run: dotnet restore
- name: Build
run: dotnet build -c Release --no-restore
- name: Test
run: dotnet test -c Release --no-build --verbosity normal --collect:"XPlat Code Coverage"
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}