From 7b911cf3d4f6d713277eaf1c03d343991226ff8c Mon Sep 17 00:00:00 2001 From: Chris Hines <chris.hines@monash.edu> Date: Mon, 4 Sep 2023 14:57:35 +1000 Subject: [PATCH] update gitlabci to use yarn --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 787e206..687d9bc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,8 +15,9 @@ build: - apt update - apt install -y nodejs - rm ./package-lock.json - - npm install - - npm run ng build -- --aot --base-href=/ --configuration=$CI_COMMIT_REF_NAME + - npm install --global yarn + - yarn install + - ng build -- --aot --base-href=/ --configuration=$CI_COMMIT_REF_NAME artifacts: paths: -- GitLab