Update .gitlab-ci.yml file
This commit is contained in:
24
.gitlab-ci.yml
Normal file
24
.gitlab-ci.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
image: node:latest
|
||||
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
|
||||
before_script:
|
||||
- npm install
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- echo "Run build project"
|
||||
- npm run build
|
||||
only:
|
||||
- merge_requests
|
||||
|
||||
test:
|
||||
stage: test
|
||||
script:
|
||||
- echo "Run test project"
|
||||
- npm run test
|
||||
only:
|
||||
- merge_requests
|
||||
Reference in New Issue
Block a user