From 6b5cf40ec9d33113c7e532e73cc6aaf76d04023e Mon Sep 17 00:00:00 2001 From: "Sean G. Wright" Date: Fri, 23 Feb 2024 11:04:08 -0500 Subject: [PATCH] build(github): update ci pipeline to use correct node.js version --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1766bd..05f245f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -53,4 +59,4 @@ jobs: run: dotnet build --configuration Release --no-restore - name: Test Solution - run: dotnet test --configuration Release --no-build --no-restore \ No newline at end of file + run: dotnet test --configuration Release --no-build --no-restore