Skip to content

Commit

Permalink
build(github): update ci pipeline to use correct node.js version
Browse files Browse the repository at this point in the history
  • Loading branch information
seangwright committed Feb 23, 2024
1 parent d0d7a7f commit 6b5cf40
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,16 @@ jobs:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_NOLOGO: 1
SIGN_FILE: false
PROJECT_NAME: Kentico.Xperience.AzureSearch

steps:
- uses: actions/checkout@v3

- name: "Install Node.js from package.json version"
uses: actions/setup-node@v4
with:
node-version-file: ./src/${{ env.PROJECT_NAME }}/Admin/Client/package.json

- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
Expand All @@ -53,4 +59,4 @@ jobs:
run: dotnet build --configuration Release --no-restore

- name: Test Solution
run: dotnet test --configuration Release --no-build --no-restore
run: dotnet test --configuration Release --no-build --no-restore

0 comments on commit 6b5cf40

Please sign in to comment.