2020-01-25 14:17:40 +01:00
|
|
|
image: node:latest
|
|
|
|
|
|
|
|
# This folder is cached between builds
|
|
|
|
cache:
|
|
|
|
paths:
|
|
|
|
- node_modules/
|
|
|
|
|
|
|
|
build_typescript:
|
|
|
|
script:
|
|
|
|
- npm install
|
2020-01-25 15:41:40 +01:00
|
|
|
- npm install --global typescript
|
2020-01-25 14:17:40 +01:00
|
|
|
- tsc
|
|
|
|
|
|
|
|
test_lint:
|
|
|
|
script:
|
|
|
|
- npm install
|
|
|
|
- npm run lint
|