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: cache:
paths: paths:
- node_modules/ - node_modules/
stages: stages:
- build
- test - test
- deploy
build:
stage: build
script:
- npm build
test: deploy_code:
stage: test stage: deploy
only:
- master
script: script:
- npm install - echo 'command deploy here.'
- node index.js
tags: after_script:
- local-tag - 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