1
1
mirror of https://github.com/theoludwig/p61-project.git synced 2024-07-17 07:00:12 +02:00

ci: execute only on merge requests and push on develop

This commit is contained in:
Théo LUDWIG 2024-02-23 16:23:01 +01:00
parent 37c724b89f
commit f959f69de6
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B

View File

@ -6,6 +6,9 @@ stages:
test: test:
stage: "test" stage: "test"
only:
- "merge_requests"
- "develop"
script: script:
- "npm clean-install" - "npm clean-install"
- 'echo "${CI_COMMIT_MESSAGE}" | npm run lint:commit' - 'echo "${CI_COMMIT_MESSAGE}" | npm run lint:commit'