Skip to content
Snippets Groups Projects
Commit 2061d3c4 authored by LEKHLAIKH Taha's avatar LEKHLAIKH Taha
Browse files

Update .gitlab-ci.yml file

parent a9f43e2b
No related branches found
No related tags found
No related merge requests found
Pipeline #7217 canceled
image: node:16
stages:
- build
- test
- deploy
install:
stage: build
script:
- npm ci
artifacts:
paths:
- node_modules
build:
stage: build
script:
- npm run build
artifacts:
paths:
- dist
needs:
- job: install
artifacts: true
lint:
stage: test
script:
- npm run lint
needs:
- job: install
artifacts: true
.cypress:
image: cypress/base:16
......@@ -33,6 +50,8 @@ e2e_tests:
needs:
- job: build
artifacts: true
- job: install
artifacts: true
deploy:
stage: deploy
......@@ -40,4 +59,3 @@ deploy:
- npm run deploy -- --token $SURGE_TOKEN
rules:
- if: $CI_COMMIT_BRANCH == "master"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment