From b9d671aef51b733e76c04e0b60e092da424a2b73 Mon Sep 17 00:00:00 2001 From: "Piotr P. Karwasz" Date: Thu, 12 Sep 2024 09:10:18 +0200 Subject: [PATCH] Apply Davyd's suggestions --- .github/workflows/build.yaml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1d4ffefa..a6d3241d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -42,10 +42,16 @@ jobs: dotnet-version: 8 dotnet-quality: ga - - name: Build - run: | - dotnet restore src/log4net.sln - dotnet build src/log4net.sln + - name: Set up NodeJs + uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # 4.0.3 + with: + node-version: 20 - - name: Test - run: dotnet test src/log4net.sln + - name: Build and test + env: + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 + DOTNET_CLIE_TELEMETRY_OPTOUT: 1 + run: | + npm update -g npm --no-progress + npm install --no-progress + npm test