ds4/.gitlab-ci.yml

28 lines
356 B
YAML
Raw Normal View History

2020-12-23 18:36:41 +01:00
image: node:latest
stages:
2020-12-23 20:15:28 +01:00
- Build
- Test
2020-12-23 18:36:41 +01:00
2020-12-23 20:23:44 +01:00
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- .npm/
before_script:
- npm ci --cache .npm --prefer-offline
2020-12-23 18:36:41 +01:00
2020-12-23 20:15:28 +01:00
Build:
stage: Build
2020-12-23 20:07:28 +01:00
script:
- npm run build
2020-12-23 20:15:28 +01:00
Lint:
stage: Test
script:
- npm run lint
# Test:
# stage: Test
2020-12-23 20:07:28 +01:00
# script:
# - npm test