.gitlab-ci.yml 312 Bytes
Newer Older
Eugen Rochko's avatar
Eugen Rochko committed
1
image: node:10.22.0-alpine
Eugen Rochko's avatar
Eugen Rochko committed
2

Eugen Rochko's avatar
Eugen Rochko committed
3 4 5
pages:
  cache:
    paths:
Eugen Rochko's avatar
Eugen Rochko committed
6
      - node_modules
Eugen Rochko's avatar
Eugen Rochko committed
7

Eugen Rochko's avatar
Eugen Rochko committed
8
  script:
Eugen Rochko's avatar
Eugen Rochko committed
9
    - apk -U upgrade && apk add -t build-dependencies build-base python
Eugen Rochko's avatar
Eugen Rochko committed
10 11
    - yarn install --pure-lockfile
    - yarn build
Eugen Rochko's avatar
Eugen Rochko committed
12
    - rm -rf public && mv build public
Eugen Rochko's avatar
Eugen Rochko committed
13

Eugen Rochko's avatar
Eugen Rochko committed
14 15
  artifacts:
    paths:
Eugen Rochko's avatar
Eugen Rochko committed
16 17
      - public

Eugen Rochko's avatar
Eugen Rochko committed
18 19
  only:
    - master