Commit 314f90d1 authored by Isabella Skořepová's avatar Isabella Skořepová

No npm install on deploy

parent 664b1330
Pipeline #144 passed with stages
......@@ -9,19 +9,20 @@ trigger:
script:
- "curl -X POST -F token=$GITLAB_TOKEN -F ref=master https://git.ok1kvk.cz/api/v3/projects/72/trigger/builds"
before_script:
- node --version
- npm --version
- npm install
basictest:
stage: test
script:
- node --version
- npm --version
- npm install
- node index.js --contentdir sitegin/tests/content --staticdir sitegin/tests/static --builddir build --noserver
unittest:
stage: test
script:
- node --version
- npm --version
- npm install
- npm test
artifacts:
paths:
......
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