aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 69084ddd25f9f25428808c4324d07a6a8a05bb1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# This file is a template, and might need editing before it works on your project.
# Official framework image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/node/tags/
image: node:8

stages:
  - lint
  - build
  - test

lint:
  stage: lint
  script:
    - yarn
    - npm run lint

test:
  services:
    - firefox
  stage: test
  script:
    - yarn
    - npm run unit

build:
  stage: build
  script:
    - yarn
    - npm run build
  artifacts:
    paths:
    - dist/