Skip to content

build(deps): Bump actions/setup-node from 5 to 6 #9

build(deps): Bump actions/setup-node from 5 to 6

build(deps): Bump actions/setup-node from 5 to 6 #9

name: Setup GitHub Copilot Agent Environment
on:
workflow_dispatch:
push:
paths:
- '.github/workflows/copilot-setup-steps.yml'
pull_request:
paths:
- '.github/workflows/copilot-setup-steps.yml'
permissions:
contents: read
jobs:
copilot-setup-steps:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v5
- name: Set up .NET Core
uses: actions/setup-dotnet@v5
with:
global-json-file: global.json
source-url: https://pkgs.dev.azure.com/intelliTect/_packaging/EssentialCSharp/nuget/v3/index.json
env:
NUGET_AUTH_TOKEN: ${{ secrets.AZURE_DEVOPS_PAT }}
- name: Set up dependency caching for faster builds
uses: actions/cache@v4
id: nuget-cache
with:
path: |
~/.nuget/packages
${{ github.workspace }}/**/obj/project.assets.json
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
${{ runner.os }}-nuget-
- name: Restore with dotnet
run: dotnet restore
- name: Build with dotnet
run: dotnet build -p:ContinuousIntegrationBuild=True -p:ReleaseDateAttribute=True --configuration Release --no-restore
- name: Run .NET Tests
run: dotnet test --no-build --configuration Release
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Set up Node.js for frontend development
uses: actions/setup-node@v6
with:
node-version: '20'
- name: Install additional development tools
run: |
# Install common development tools that Copilot agents might need
echo "Installing additional tools for Copilot agent environment..."
# Install EF Core tools globally
dotnet tool install --global dotnet-ef