Commit ac957e51 authored by Krit Punpreuk's avatar Krit Punpreuk

Update .gitlab-ci.yml, package.json files

parent 87e79cc0
Pipeline #72 failed with stages
in 23 seconds
image: node:8.16.2-alpine
cache:
key: node_modules
paths:
- node_modules
stages:
- install
- build
install:
stage: install
only:
- master
script:
- npm install
artifacts:
paths:
- node_modules
tags:
- docker
build:
stage: build
only:
- master
script:
- npm start
artifacts:
paths:
- node_modules
tags:
- docker
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
"description": "bigstream token generator service", "description": "bigstream token generator service",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "node index.js" "test": "node index.js",
"start" "node index.js"
}, },
"author": "Krit P.", "author": "Krit P.",
"license": "ISC", "license": "ISC",
......
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