We planned to upgrade GitLab and Mattermost to the latest version this Friday morning (early). You may experience some downtime!

Commit d6beacd3 authored by Wietse Kuipers's avatar Wietse Kuipers

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