22 lines
294 B
YAML
22 lines
294 B
YAML
image: node:alpine
|
|
|
|
cache:
|
|
paths:
|
|
- node_modules/
|
|
- .yarn
|
|
|
|
before_script:
|
|
- apt-get update -qq && apt-get install
|
|
|
|
# stages order.
|
|
stages:
|
|
- build
|
|
|
|
Build:
|
|
stage: build
|
|
before_script:
|
|
- yarn config set cache-folder .yarn
|
|
- yarn install
|
|
script:
|
|
- yarn eleventy
|