image: node:latest
stages:
- build
- babel
cache:
paths:
- node_modules/
- dist/
install_dependencies:
stage: build
script:
- npm install
artifacts:
babel_compile:
stage: babel
script: npm run build