Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
ThaliApp
Commits
d6beacd3
Commit
d6beacd3
authored
Feb 08, 2017
by
Wietse Kuipers
Browse files
Add CI
parent
5c0ee8ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
d6beacd3
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment