From 12dee271bba6c4598f57eac08bbed04a02236fc6 Mon Sep 17 00:00:00 2001 From: Daniel Alejandro Gallegos Date: Wed, 21 Jun 2023 19:24:39 -0400 Subject: [PATCH] migrate installation to volta install too --- .gitlab-ci.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f1e60ec..cf010bc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,15 +3,11 @@ image: node:latest variables: GIT_SUBMODULE_STRATEGY: recursive -build: - script: - - npm install - artifacts: - paths: - - node_modules/ - test: before_script: + - apt-get update -qq && apt-get install -y -qq curl + - curl https://get.volta.sh | bash + - npm install - apt-get update -qq && apt-get install -y -qq hugo script: - hugo @@ -21,6 +17,9 @@ test: pages: before_script: + - apt-get update -qq && apt-get install -y -qq curl + - curl https://get.volta.sh | bash + - npm install - apt-get update -qq && apt-get install -y -qq hugo script: - hugo