Explicitly install semantic-release plugins
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Danny Bessems 2023-05-20 13:44:54 +02:00
parent e4e58e4789
commit 0fee2df2a6

View File

@ -45,13 +45,17 @@ steps:
git-core \
ca-certificates
- |
npm install semantic-release
npm install \
semantic-release \
@semantic-release/commit-analyzer \
@semantic-release/release-notes-generator\
@semantic-release/exec'
- |
export GIT_CREDENTIALS=$${GIT_USERNAME}:$${GIT_APIKEY}
- |
npx semantic-release \
--branches ${DRONE_BRANCH} \
--plugins ['@semantic-release/commit-analyzer', '@semantic-release/release-notes-generator', '@semantic-release/github'] \
--plugins ['@semantic-release/commit-analyzer', '@semantic-release/release-notes-generator', '@semantic-release/exec'] \
--dry-run
environment:
GIT_APIKEY: