Skip to content

Commit

Permalink
Add GitLab config
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Apr 10, 2019
1 parent fd1f307 commit 7defb86
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
image: node:latest

stages:
- build
- test

cache:
paths:
- node_modules/

install_dependencies:
stage: build
script:
- npm install
artifacts:
paths:
- node_modules/

run_tests:
stage: test
script:
- mkdir tmp-project
- cd tmp-project
- ../near new_project
- npm install
- npm run build

0 comments on commit 7defb86

Please sign in to comment.