Commit d6beacd3 authored by Wietse Kuipers's avatar Wietse Kuipers
Browse files

Add CI

parent 5c0ee8ea
image: node:latest
cache:
key: "$CI_BUILD_NAME"
paths:
- node_modules/
- .cache/
- latest.tar.gz
before_script:
- wget -N https://yarnpkg.com/latest.tar.gz
- tar zxf latest.tar.gz
- mv dist /opt/
- export PATH="/opt/dist/bin:$PATH"
- yarn config set cache-folder .cache
- yarn install
stages:
- lint
- test
eslint:
stage: lint
script:
- yarn lint
jest:
stage: test
script:
- yarn test
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment