diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2de8094..cba2b27 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,11 @@ stages: - tag - deploy +default: + before_script: + - curl -sL https://deb.nodesource.com/setup_15.x | sudo -E bash - + - apt-get install nodejs yarn + # The test stage runs on every build and every branch. test: image: mcr.microsoft.com/dotnet/sdk:5.0 @@ -62,6 +67,7 @@ deploy: image: mcr.microsoft.com/dotnet/sdk:5.0 needs: [] stage: deploy + before_script: [] script: - scripts/set-build-version.sh - dotnet restore diff --git a/.tool-versions b/.tool-versions index f557ccf..f84212e 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,3 @@ dotnet-core 5.0.100 yarn 1.22.10 +nodejs 15.0.1