mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2024-12-26 00:21:36 +01:00
27 lines
269 B
YAML
27 lines
269 B
YAML
|
image: node:8-alpine
|
||
|
|
||
|
stages:
|
||
|
- test
|
||
|
- build
|
||
|
|
||
|
before_script:
|
||
|
- npm install
|
||
|
|
||
|
test:
|
||
|
stage: test
|
||
|
script:
|
||
|
- npm test
|
||
|
|
||
|
lint:
|
||
|
stage: test
|
||
|
script:
|
||
|
- npm run lint
|
||
|
|
||
|
build:
|
||
|
stage: build
|
||
|
script:
|
||
|
- npm pack
|
||
|
artifacts:
|
||
|
paths:
|
||
|
- foris-*.tgz
|