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:
|
variables:
|
||||||
GIT_SUBMODULE_STRATEGY: recursive
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
|
|
||||||
build:
|
|
||||||
script:
|
|
||||||
- npm install
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- node_modules/
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
before_script:
|
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
|
- apt-get update -qq && apt-get install -y -qq hugo
|
||||||
script:
|
script:
|
||||||
- hugo
|
- hugo
|
||||||
|
@ -21,6 +17,9 @@ test:
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
before_script:
|
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
|
- apt-get update -qq && apt-get install -y -qq hugo
|
||||||
script:
|
script:
|
||||||
- hugo
|
- hugo
|
||||||
|
|
Reference in a new issue