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:
stage: deploy
stages:
- 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:
- echo 'Nothing to do...'
- echo 'Deploying...'
artifacts:
paths:
- public
expire_in: 1 day
only:
- master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment