You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
433 B
40 lines
433 B
4 years ago
|
image: node:12
|
||
|
|
||
|
before_script:
|
||
|
- npm ci
|
||
|
|
||
|
#cache:
|
||
|
# paths:
|
||
|
# - node_modules/
|
||
|
|
||
|
test:lint:
|
||
|
script:
|
||
|
- npm run lint
|
||
|
|
||
|
test:node:15:
|
||
|
image: node:15
|
||
|
script:
|
||
|
- npm run build
|
||
|
- npm test
|
||
|
|
||
|
# LTS
|
||
|
test:node:14:
|
||
|
image: node:14
|
||
|
script:
|
||
|
- npm run build
|
||
|
- npm test
|
||
|
|
||
|
# LTS
|
||
|
test:node:12:
|
||
|
script:
|
||
|
- npm run build
|
||
|
- npm test
|
||
|
|
||
|
# LTS
|
||
|
test:node:10:
|
||
|
image: node:10
|
||
|
script:
|
||
|
- npm run build
|
||
|
- npm test
|
||
|
|