PVB-169 revert version numbering in CD build pipeline #45
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
name: CI for OPSS GDS Blazor Component Library | |
on: | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the repository | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
# Setup .NET | |
- name: Setup .NET Core SDK | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '8.0.x' | |
# Setup Node.js | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
# Restore dependencies | |
- name: Restore dependencies | |
run: dotnet restore | |
# Build the solution | |
- name: Build the solution | |
run: dotnet build --no-restore --configuration Release | |
# Run tests | |
- name: Run tests | |
run: dotnet test |