ci.yml 1.1 KB
Newer Older
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
33
34
ci_build_node12:
    only:
        - master
        - merge_requests
    stage: build
    image: node:12-buster-slim
    before_script:
        - apt-get update -yqq
        - apt-get install -y gnupg2 wget apt-transport-https
        - wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add
        - echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list
        - apt-get update -yqq
        - apt-get install -y google-chrome-stable
    script:
        - npm install
        - npm test

ci_build_node14:
    only:
        - master
        - merge_requests
    stage: build
    image: node:14-buster-slim
    before_script:
        - apt-get update -yqq
        - apt-get install -y gnupg2 wget apt-transport-https
        - wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add
        - echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list
        - apt-get update -yqq
        - apt-get install -y google-chrome-stable
    script:
        - npm install
        - npm test