Skip to content

Commit 3eede13

Browse files
fix: install copilot tooling before build validation
Agent-Logs-Url: https://github.com/IntelliTect/EssentialCSharp.Web/sessions/d6590875-922c-45ea-9f77-48dbe7ac66c5 Co-authored-by: BenjaminMichaelis <22186029+BenjaminMichaelis@users.noreply.github.com>
1 parent f56a684 commit 3eede13

1 file changed

Lines changed: 15 additions & 16 deletions

File tree

.github/workflows/copilot-setup-steps.yml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ jobs:
2828
env:
2929
NUGET_AUTH_TOKEN: ${{ secrets.AZURE_DEVOPS_PAT }}
3030

31+
- name: Set up Node.js for frontend development
32+
uses: actions/setup-node@v6
33+
with:
34+
node-version: '24'
35+
cache: npm
36+
cache-dependency-path: EssentialCSharp.Web/package-lock.json
37+
3138
- name: Set up dependency caching for faster builds
3239
uses: actions/cache@v5
3340
id: nuget-cache
@@ -40,6 +47,14 @@ jobs:
4047
${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
4148
${{ runner.os }}-nuget-
4249
50+
- name: Set up Docker Buildx
51+
uses: docker/setup-buildx-action@v4
52+
53+
- name: Install additional development tools
54+
run: |
55+
echo "Installing additional tools for Copilot agent environment..."
56+
dotnet tool install --global dotnet-ef
57+
4358
- name: Restore with dotnet
4459
run: dotnet restore
4560

@@ -48,19 +63,3 @@ jobs:
4863

4964
- name: Run .NET Tests
5065
run: dotnet test --no-build --configuration Release
51-
52-
- name: Set up Docker Buildx
53-
uses: docker/setup-buildx-action@v4
54-
55-
- name: Set up Node.js for frontend development
56-
uses: actions/setup-node@v6
57-
with:
58-
node-version: '24'
59-
60-
- name: Install additional development tools
61-
run: |
62-
# Install common development tools that Copilot agents might need
63-
echo "Installing additional tools for Copilot agent environment..."
64-
65-
# Install EF Core tools globally
66-
dotnet tool install --global dotnet-ef

0 commit comments

Comments
 (0)