Skip to content

Remove Claude GitHub workflows #694

Remove Claude GitHub workflows

Remove Claude GitHub workflows #694

Workflow file for this run

name: Build and Test
on:
workflow_dispatch:
push:
branches: [ dev ]
paths-ignore:
- "**.md"
- "**.ps1"
- ".editorconfig"
- "TestFiles/*"
- '**/*.gitignore'
- '**/*.gitattributes'
- '**/*.yml'
pull_request:
branches: [ main ]
types: [opened, synchronize, reopened] # Only run when PR is created or updated
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
if: github.event_name != 'push' || github.event.pull_request == null # Prevents duplicate runs
steps:
# uses GitHub's checkout action to checkout code form the release branch
- name: Checkout code
uses: actions/[email protected]
# sets up .NET SDK
- name: Setup .NET
uses: actions/[email protected]
with:
global-json-file: ./global.json
- name: Install WASM workload
run: dotnet workload install wasm-tools
- name: Restore dependencies
run: dotnet restore Pkmds.Web/Pkmds.Web.csproj -p:SelfContained=true
- name: Build Web
run: dotnet build Pkmds.Web/Pkmds.Web.csproj --configuration Release --no-restore
- name: Run tests
run: dotnet test --configuration Release --no-build