.gitlab-ci.yml 390 Bytes
Newer Older
Nicholas J Anderson's avatar
Nicholas J Anderson committed
1
2
3
4
image: node:6.5.0

build:
  stage: build
5
  variables:
6
    HOMEPAGE: "https://cefaoycoympc.srct.gmu.edu/"
Nicholas J Anderson's avatar
Nicholas J Anderson committed
7
  script:
8
  - npm install -g yarn
9
10
  - >
    node -e "require('fs').writeFileSync('./package.json', JSON.stringify(Object.assign(require('./package.json'), {'homepage': process.env.HOMEPAGE}), null, 2));"
11
  - yarn install
12
  - CI=false npm run build
Nicholas J Anderson's avatar
Nicholas J Anderson committed
13
14
15
16
  artifacts:
    paths:
    - build