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 - tag
- deploy - 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. # The test stage runs on every build and every branch.
test: test:
image: mcr.microsoft.com/dotnet/sdk:5.0 image: mcr.microsoft.com/dotnet/sdk:5.0
@ -62,6 +67,7 @@ deploy:
image: mcr.microsoft.com/dotnet/sdk:5.0 image: mcr.microsoft.com/dotnet/sdk:5.0
needs: [] needs: []
stage: deploy stage: deploy
before_script: []
script: script:
- scripts/set-build-version.sh - scripts/set-build-version.sh
- dotnet restore - dotnet restore

View file

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