.gitlab-ci.yml 398 Bytes
Newer Older
Morgan Bazalgette's avatar
Morgan Bazalgette committed
1 2 3
image: node:latest

before_script:
Morgan Bazalgette's avatar
Morgan Bazalgette committed
4 5
  - 'curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -'
  - 'echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list'
Morgan Bazalgette's avatar
Morgan Bazalgette committed
6 7 8 9 10 11 12 13 14 15 16 17
  - apt-get update && apt-get install -y yarn
  - yarn install

build:
  script:
    - npm run build
  artifacts:
    paths:
      - public/packs
      - public/assets
    expire_in: 1 week