feat: added .gitlab-ci.yml file
This commit is contained in:
parent
bd693eb71a
commit
ee7672ffa0
23
.gitlab-ci.yml
Normal file
23
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
image: node:alpine
|
||||
|
||||
cache:
|
||||
paths:
|
||||
- node_modules/
|
||||
- .yarn
|
||||
|
||||
before_script:
|
||||
- apt-get update -qq && apt-get install
|
||||
|
||||
# stages order.
|
||||
stages:
|
||||
- build
|
||||
|
||||
Build:
|
||||
stage: build
|
||||
tags:
|
||||
- node
|
||||
before_script:
|
||||
- yarn config set cache-folder .yarn
|
||||
- yarn install
|
||||
script:
|
||||
- yarn eleventy
|
Reference in a new issue