Skip to content
Snippets Groups Projects
Commit c5bc60b5 authored by Suru Dissanaike's avatar Suru Dissanaike
Browse files

Update .gitlab-ci.yml

parent 1d17d59c
Branches
Tags
No related merge requests found
Pipeline #9531 failed
image: alpine:latest image: node:14.15.4
cache:
untracked: true
key: "$CI_BUILD_REF_NAME"
paths:
- node_modules/
pages: stages:
stage: deploy - install
- unit-testing
- deploy-pages
install:
stage: install
script:
- npm install
- npm install --only=dev
unit_testing:
stage: unit-testing
script:
- npm run test
deploy_pages:
image: alpine:latest
stage: deploy-pages
script: script:
- echo 'Nothing to do...' - echo 'Deploying...'
artifacts: artifacts:
paths: paths:
- public - public
expire_in: 1 day
only: only:
- master - master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment