Commit ffb1de96 authored by Krit Punpreuk's avatar Krit Punpreuk

Update .gitlab-ci.yml

parent 65f8995f
Pipeline #27 canceled with stages
before_script:
- npm install
cache:
paths:
- node_modules/
stages:
- build
- test
- deploy
build:
stage: build
script:
- npm build
test:
stage: test
deploy_code:
stage: deploy
only:
- master
script:
- npm install
- node index.js
tags:
- local-tag
- echo 'command deploy here.'
after_script:
- echo 'after script here.'
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