diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff4e95c27..4fa55d0be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: '18.16' + node-version: '20.12' - name: Setup dotnet uses: actions/setup-dotnet@v4 @@ -26,7 +26,7 @@ jobs: dotnet-version: '7.0' - name: Run backend tests - run: dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:Exclude="[IsraelHiking.Common]*" --logger "junit;LogFilePath=test-result.xml" + run: dotnet test Tests/IsraelHiking.API.Tests --logger "junit;LogFilePath=test-result.xml" /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:Exclude="[IsraelHiking.Common]*" - name: Run frontend tests run: | cd IsraelHiking.Web @@ -45,6 +45,6 @@ jobs: uses: test-summary/action@v2 with: paths: | - ./**/IsraelHiking.API.Tests/test-result.xml + ./**/test-result.xml ./**/TESTS-*.xml diff --git a/Dockerfile b/Dockerfile index 741f4e0ae..65abdbb8a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18.16 as build-node +FROM node:20.12 as build-node WORKDIR /angular COPY ./IsraelHiking.Web/ ./ diff --git a/README.md b/README.md index 5702190a1..d6044398e 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ The architecture is based on layers: In order to be able to build this site you'll need some tools: * Install [Docker](https://www.docker.com/products/docker-desktop) * Install [.Net core SDK 7.0 ](https://www.microsoft.com/net/download/core) -* Install [node.js](https://nodejs.org/en/) (18.16+). +* Install [node.js](https://nodejs.org/en/) (20+). * Run from command line `dotnet restore` and after that `dotnet build` * Go to `IsraelHiking.Web` and run from command line: * `npm install` to install all npm packages for the client side code diff --git a/appveyor.yml b/appveyor.yml index 67a040072..5ff3345f3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -47,7 +47,7 @@ for: only: - PRODUCT: android install: - - ps: Install-Product node 18.16 + - ps: Install-Product node 20.12 build_script: - pwsh: >- $BuildAndPublishAndroid = "$env:APPVEYOR_BUILD_FOLDER/Scripts/BuildAndPublishAndroid.ps1" @@ -60,7 +60,7 @@ for: - PRODUCT: ios fast_finish: true install: - - sh: nvm install 18.16 + - sh: nvm install 20.12 build_script: - pwsh: >- $BuildAndPublishIOS = "$env:APPVEYOR_BUILD_FOLDER/Scripts/BuildAndPublishIOS.ps1"