Package Exports
- gitlab-ci-selective
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gitlab-ci-selective) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Tool help to run custom shell commands depends on changes in Merge Request.
Install tool:
npm i gitlab-ci-selectiveWrite config:
testing:
module1/**:
- cd module1 && npm test
- cd module1 && npm run lint
deploy:
module1/**:
- cd module1 && npm run deployThen you can run tool from CI (.gitlab-ci.yml).
npm i gitlab-ci-selective
./node_modules/.bin/gitlab-ci-selective \
--token=$CI_JOB_TOKEN \
--project=$CI_PROJECT_ID \
--sha=$CI_COMMIT_SHA \
--stage=$CI_JOB_STAGE