ci: install node for building

This commit is contained in:
Dylan R. E. Moonfire 2021-01-21 18:25:40 -06:00
parent caaefa3aa2
commit 9347397e13
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -1,2 +1,3 @@
dotnet-core 5.0.100
yarn 1.22.10
nodejs 15.0.1