Skip to content

Add more CI/CD for releases #119

Add more CI/CD for releases

Add more CI/CD for releases #119

Workflow file for this run

name: Run Tests
on:
push:
branches: [ main ]
pull_request:
branches:
- main
workflow_dispatch: # Allows manual runs from the Actions tab
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ubuntu-latest
steps:
# Checkout the repository
- name: Checkout code
uses: actions/checkout@v4
# Set up .NET
- name: Set up .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x.x
# Restore .NET tools
- name: Restore .NET dependencies
run: dotnet tool restore
# Install Node.js
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
# Install npm dependencies
- name: Install Node.js dependencies
run: npm install
# Install component npm dependencies
- name: Install Node.js dependencies
run: npm install
working-directory: src/Components
# Install playwright dependencies
- name: Install Playwright dependencies
run: npx playwright install chromium
working-directory: src/Components
- name: Run Tests
run: dotnet run --project ./build/Build.fsproj test