Skip to content
Snippets Groups Projects
Commit 2a41e93b authored by Sigmund, Dominik's avatar Sigmund, Dominik
Browse files

Add .gitlab-ci.yml

parent 9e6f34c6
Branches
Tags
1 merge request!1Update index.test.js, examples/all-options.js, examples/log-to-file.js,...
image: node:latest
include:
- project: 'general/templates'
file: '/cicd/npm-audit.gitlab-ci.yml'
cache:
paths:
- node_modules/
stages:
- build
- test
build:
stage: build
script:
- npm install --production
test:
stage: test
before_script:
- npm install -g jest
script:
- jest
artifacts:
paths:
- docs/test-report.html
- docs/junit.xml
reports:
junit: docs/junit.xml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment