plasma-banner-scripts
Version:
<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
40 lines (36 loc) • 588 B
YAML
image: node:lts-stretch
# Cache modules in between jobs
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- node_modules/
stages:
- build
- test
build:
stage: build
script:
- npm i
when: always
artifacts:
expire_in: 24h
paths:
- packages/
- node_modules/
except:
- tags
tags:
- bulder-do-1-docker-nodejs
test:
stage: test
script:
- npm i
- env TZ='Europe/Kiev' npm run test:coverage
when: always
coverage: /All files\s*\|\s*([\d\.]+)/
except:
- tags
tags:
- nodejs-tests-dev-docker
dependencies:
- build