Chore: Migrate yarn from v1 to v2 (#39082)

* Chore: Migrate yarn from v1 to v2

Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
This commit is contained in:
kay delaney
2021-10-08 15:19:10 +01:00
committed by GitHub
parent 1b2a1a9621
commit b2e94d0733
41 changed files with 34840 additions and 24788 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ function build_frontend() {
if [ ! -d "dist" ]; then
mkdir dist
fi
yarn install --pure-lockfile --no-progress
YARN_ENABLE_PROGRESS_BARS=false yarn install --immutable
echo "Building frontend"
start=$(date +%s%N)
+1 -1
View File
@@ -109,7 +109,7 @@ ENV GOVERSION=1.17 \
PATH=/usr/local/go/bin:$PATH \
GOPATH=/go \
NODEVERSION=14.17.6-1nodesource1 \
YARNVERSION=1.22.5-1
YARNVERSION=3.1.0-rc.5
# Use ARG so as not to persist environment variable in image
ARG DEBIAN_FRONTEND=noninteractive
+1 -1
View File
@@ -14,7 +14,7 @@ install:
# install nodejs and npm
- ps: Install-Product node $env:nodejs_version
- npm install -g yarn --silent
- yarn install --pure-lockfile --no-progress
- YARN_ENABLE_PROGRESS_BARS=false yarn install --immutable
- npm install -g grunt-cli
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.zip
- 7z x go%GOVERSION%.windows-amd64.zip -y -oC:\ > NUL