Update .gitlab-ci.yml file

This commit is contained in:
AmirHossein Mahmoodi
2023-10-14 13:09:21 +00:00
parent 98aad1b477
commit 4cabe9d171

24
.gitlab-ci.yml Normal file
View 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