1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2024-11-14 17:35:35 +01:00

Add gitlabCI job.

This commit is contained in:
Bogdan Bodnar 2019-08-27 16:10:14 +02:00
parent c0d742b13b
commit de09e7a03c
No known key found for this signature in database
GPG Key ID: 49E4169AD3CA42B0

26
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,26 @@
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