migrate installation to volta install too
This commit is contained in:
parent
aa3f9e9f7a
commit
12dee271bb
1 changed files with 6 additions and 7 deletions
|
@ -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
|
||||
|
|
Reference in a new issue